Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007796/0.007796, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00204/0.00204, allocations: 194.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.739/2.739, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 68.11 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3164, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02455/0.341, allocations: 20.43 MB / 1.24 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01345/0.3545, allocations: 7.701 MB / 1.248 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.3566, allocations: 59.81 kB / 1.248 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003955/0.3606, allocations: 1.345 MB / 1.249 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.6055/0.9661, allocations: 1.003 MB / 1.25 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005265/0.9714, allocations: 1.996 MB / 1.252 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005205/0.9766, allocations: 4.326 MB / 1.256 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007411/0.9841, allocations: 6.158 MB / 1.262 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.9873, allocations: 1.846 MB / 1.264 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004153/0.9915, allocations: 2.203 MB / 1.266 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001582/0.9931, allocations: 427.8 kB / 1.267 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002458/0.9955, allocations: 0.9427 MB / 1.267 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001956/0.9975, allocations: 1.654 MB / 1.269 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002028/0.9995, allocations: 1.714 MB / 1.271 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007691/1.007, allocations: 6.206 MB / 1.277 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/1.007, allocations: 0.5625 kB / 1.277 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/1.007, allocations: 2.531 kB / 1.277 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001777/1.007, allocations: 1.188 kB / 1.277 GB, free: 7.465 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.007424/1.015, allocations: 3.114 MB / 1.28 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.015, allocations: 9.25 kB / 1.28 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006747/1.016, allocations: 446.1 kB / 1.28 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003669/1.019, allocations: 0.7661 MB / 1.281 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/1.022, allocations: 1.572 MB / 1.283 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/1.022, allocations: 220.5 kB / 1.283 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005427/1.023, allocations: 283.7 kB / 1.283 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/1.033, allocations: 5.087 MB / 1.288 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.099e-05/1.033, allocations: 8.188 kB / 1.288 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000352/1.033, allocations: 119.7 kB / 1.288 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002435/1.034, allocations: 212.8 kB / 1.288 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007648/1.041, allocations: 4.222 MB / 1.292 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02908/1.07, allocations: 22.97 MB / 1.315 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/1.073, allocations: 1.736 MB / 1.317 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/1.075, allocations: 1.141 MB / 1.318 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/1.075, allocations: 106.7 kB / 1.318 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/1.075, allocations: 45.77 kB / 1.318 GB, free: 13.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=84): time 2.745e-06/1.075, allocations: 0 / 1.318 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=87): time 0.006309/1.082, allocations: 4.114 MB / 1.322 GB, free: 11.65 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.135e-05/1.082, allocations: 141.3 kB / 1.322 GB, free: 11.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/1.083, allocations: 0.8721 MB / 1.323 GB, free: 10.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.184e-05/1.083, allocations: 45.67 kB / 1.323 GB, free: 10.94 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008014/1.084, allocations: 1.197 MB / 1.324 GB, free: 9.891 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/1.084, allocations: 327.6 kB / 1.324 GB, free: 9.617 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004664/1.085, allocations: 275 kB / 1.325 GB, free: 9.465 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002204/1.085, allocations: 414.2 kB / 1.325 GB, free: 9.078 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/1.086, allocations: 0.8248 MB / 1.326 GB, free: 8.645 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/1.088, allocations: 1.31 MB / 1.327 GB, free: 7.586 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002948/1.091, allocations: 2.169 MB / 1.329 GB, free: 6.156 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.091, allocations: 3.969 kB / 1.329 GB, free: 6.156 MB / 1.029 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003592/1.094, allocations: 2.216 MB / 1.331 GB, free: 5.082 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.094, allocations: 11.31 kB / 1.331 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/1.094, allocations: 14.22 kB / 1.331 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/1.094, allocations: 24.31 kB / 1.331 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/1.096, allocations: 421.1 kB / 1.332 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.158e-05/1.096, allocations: 32.41 kB / 1.332 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/1.097, allocations: 215.2 kB / 1.332 GB, free: 4.816 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/1.098, allocations: 58.55 kB / 1.332 GB, free: 4.805 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002863/1.1, allocations: 1.679 MB / 1.334 GB, free: 3.848 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001502/1.102, allocations: 1.189 MB / 1.335 GB, free: 2.812 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002523/1.104, allocations: 1.909 MB / 1.337 GB, free: 1.438 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.105e-06/1.104, allocations: 4.188 kB / 1.337 GB, free: 1.438 MB / 1.029 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003165/1.108, allocations: 1.932 MB / 1.339 GB, free: 448 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.108, allocations: 12.19 kB / 1.339 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/1.108, allocations: 15.84 kB / 1.339 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/1.108, allocations: 22.31 kB / 1.339 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/1.109, allocations: 364.1 kB / 1.339 GB, free: 340 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.383e-05/1.109, allocations: 33.33 kB / 1.339 GB, free: 328 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/1.11, allocations: 181.8 kB / 1.339 GB, free: 228 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/1.11, allocations: 63.39 kB / 1.339 GB, free: 212 kB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004163/1.111, allocations: 266.8 kB / 1.34 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/1.111, allocations: 108.7 kB / 1.34 GB, free: 15.9 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003024/1.114, allocations: 1.85 MB / 1.342 GB, free: 14.83 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/1.114, allocations: 13.56 kB / 1.342 GB, free: 14.83 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/1.114, allocations: 1.375 kB / 1.342 GB, free: 14.83 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.114, allocations: 4.172 kB / 1.342 GB, free: 14.82 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/1.127, allocations: 9.593 MB / 1.351 GB, free: 9.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/1.127, allocations: 11.75 kB / 1.351 GB, free: 9.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.128, allocations: 306.4 kB / 1.351 GB, free: 8.914 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-05/1.128, allocations: 21.98 kB / 1.351 GB, free: 8.91 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.776e-05/1.128, allocations: 28.5 kB / 1.351 GB, free: 8.898 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-05/1.128, allocations: 34.97 kB / 1.351 GB, free: 8.883 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/1.128, allocations: 15.78 kB / 1.351 GB, free: 8.879 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/1.131, allocations: 2.404 MB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006146/1.132, allocations: 380.1 kB / 1.354 GB, free: 6.445 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/1.132, allocations: 31.56 kB / 1.354 GB, free: 6.418 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009731/1.133, allocations: 151.7 kB / 1.354 GB, free: 6.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/1.133, allocations: 87.67 kB / 1.354 GB, free: 6.184 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.863e-05/1.133, allocations: 40 kB / 1.354 GB, free: 6.145 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009323/1.134, allocations: 0.6122 MB / 1.355 GB, free: 5.535 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.134, allocations: 0 / 1.355 GB, free: 5.535 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002754/1.137, allocations: 0.7617 MB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003385/1.14, allocations: 2.982 MB / 1.359 GB, free: 1.629 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004658/1.145, allocations: 2.9 MB / 1.361 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.145, allocations: 4 kB / 1.361 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/1.146, allocations: 0.9171 MB / 1.362 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/1.148, allocations: 304.7 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02391/1.172, allocations: 15.31 MB / 1.378 GB, free: 13.45 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002181/1.174, allocations: 2.12 MB / 1.38 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001872/1.176, allocations: 0.7579 MB / 1.38 GB, free: 10.53 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/1.177, allocations: 0.8273 MB / 1.381 GB, free: 9.703 MB / 1.076 GB Notification: Performance of SimCode: time 6.21e-07/1.177, allocations: 0 / 1.381 GB, free: 9.703 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06483/1.242, allocations: 32.84 MB / 1.413 GB, free: 9.246 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.574/10.82, allocations: 9.172 kB / 1.413 GB, free: 9.242 MB / 1.107 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches