Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.006066/0.006065, allocations: 97.11 kB / 15.73 MB, free: 6.051 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.001457/0.001458, allocations: 194.8 kB / 16.67 MB, free: 5.977 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.553/2.553, allocations: 469.4 MB / 0.7421 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 68.11 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2724, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.5742/0.8466, allocations: 33.33 MB / 1.252 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0198/0.8665, allocations: 14.82 MB / 1.267 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003792/0.8703, allocations: 154.5 kB / 1.267 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008395/0.8787, allocations: 3.66 MB / 1.27 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008592/0.8874, allocations: 3 MB / 1.273 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006832/0.8942, allocations: 2.331 MB / 1.276 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01229/0.9065, allocations: 8.828 MB / 1.284 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01385/0.9204, allocations: 9.574 MB / 1.294 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009654/0.9301, allocations: 4.01 MB / 1.298 GB, free: 13.83 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008026/0.9381, allocations: 4.041 MB / 1.302 GB, free: 12.06 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002556/0.9407, allocations: 0.7151 MB / 1.302 GB, free: 12.06 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005652/0.9464, allocations: 1.715 MB / 1.304 GB, free: 11.66 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.005215/0.9516, allocations: 2.829 MB / 1.307 GB, free: 10.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.009439/0.9611, allocations: 3.391 MB / 1.31 GB, free: 8.328 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01786/0.979, allocations: 11.22 MB / 1.321 GB, free: 3.793 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.979, allocations: 0 / 1.321 GB, free: 3.793 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.295e-06/0.979, allocations: 0 / 1.321 GB, free: 3.793 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003689/0.9794, allocations: 1.25 kB / 1.321 GB, free: 3.793 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02117/1.001, allocations: 6.135 MB / 1.327 GB, free: 15.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.001, allocations: 9.031 kB / 1.327 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003107/1.004, allocations: 0.7274 MB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009063/1.013, allocations: 1.17 MB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/1.023, allocations: 3.539 MB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004921/1.024, allocations: 371.7 kB / 1.333 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002734/1.026, allocations: 0.4884 MB / 1.333 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0218/1.048, allocations: 8.008 MB / 1.341 GB, free: 7.008 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002717/1.049, allocations: 24.08 kB / 1.341 GB, free: 6.992 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00184/1.05, allocations: 216.2 kB / 1.341 GB, free: 6.832 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001231/1.052, allocations: 433.2 kB / 1.342 GB, free: 6.711 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/1.065, allocations: 6.087 MB / 1.347 GB, free: 3.578 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04327/1.108, allocations: 34.96 MB / 1.382 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/1.111, allocations: 2.015 MB / 1.384 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002408/1.113, allocations: 1.883 MB / 1.385 GB, free: 11.13 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-05/1.113, allocations: 18 kB / 1.385 GB, free: 11.11 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/1.114, allocations: 60.5 kB / 1.386 GB, free: 11.04 MB / 1.076 GB Notification: Performance of pre-optimization done (n=171): time 4.599e-06/1.114, allocations: 4 kB / 1.386 GB, free: 11.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=276): time 0.1516/1.265, allocations: 38.97 MB / 1.424 GB, free: 3.965 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/1.265, allocations: 81.52 kB / 1.424 GB, free: 3.871 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003912/1.269, allocations: 2.278 MB / 1.426 GB, free: 1.578 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003997/1.27, allocations: 73.7 kB / 1.426 GB, free: 1.5 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00156/1.271, allocations: 2.338 MB / 1.428 GB, free: 15.14 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.00101/1.272, allocations: 0.9759 MB / 1.429 GB, free: 14.15 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/1.273, allocations: 0.5103 MB / 1.43 GB, free: 13.63 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 9.685e-05/1.274, allocations: 308.9 kB / 1.43 GB, free: 13.33 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/1.276, allocations: 1.973 MB / 1.432 GB, free: 11.36 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003423/1.28, allocations: 2.599 MB / 1.434 GB, free: 8.516 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006533/1.286, allocations: 4.937 MB / 1.439 GB, free: 3.305 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/1.286, allocations: 4 kB / 1.439 GB, free: 3.301 MB / 1.123 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01464/1.301, allocations: 7.779 MB / 1.447 GB, free: 11.45 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/1.301, allocations: 12 kB / 1.447 GB, free: 11.44 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/1.301, allocations: 16 kB / 1.447 GB, free: 11.43 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009362/1.311, allocations: 3.214 MB / 1.45 GB, free: 8.195 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/1.312, allocations: 403.3 kB / 1.45 GB, free: 7.801 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04418/1.357, allocations: 33.91 MB / 1.484 GB, free: 5.031 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003192/1.36, allocations: 163.8 kB / 1.484 GB, free: 4.871 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004245/1.36, allocations: 111.9 kB / 1.484 GB, free: 4.762 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003314/1.364, allocations: 1.793 MB / 1.486 GB, free: 2.957 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008458/1.364, allocations: 353.8 kB / 1.486 GB, free: 2.609 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/1.379, allocations: 7.361 MB / 1.493 GB, free: 11.16 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.488e-05/1.379, allocations: 28 kB / 1.493 GB, free: 11.14 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.312e-05/1.379, allocations: 28 kB / 1.493 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.273e-05/1.379, allocations: 15.94 kB / 1.493 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02612/1.405, allocations: 12.92 MB / 1.506 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/1.405, allocations: 8 kB / 1.506 GB, free: 13.99 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/1.406, allocations: 232.5 kB / 1.506 GB, free: 13.77 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008416/1.414, allocations: 2.844 MB / 1.509 GB, free: 10.9 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003411/1.415, allocations: 55.98 kB / 1.509 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04317/1.458, allocations: 32.7 MB / 1.541 GB, free: 9.301 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.458, allocations: 7.938 kB / 1.541 GB, free: 9.293 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/1.471, allocations: 6.904 MB / 1.547 GB, free: 2.18 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002471/1.473, allocations: 0.7956 MB / 1.548 GB, free: 1.363 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.474, allocations: 49.12 kB / 1.548 GB, free: 1.316 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002428/1.477, allocations: 171.8 kB / 1.548 GB, free: 1.148 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008243/1.478, allocations: 261.4 kB / 1.549 GB, free: 0.8906 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/1.478, allocations: 76 kB / 1.549 GB, free: 0.8164 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002724/1.481, allocations: 1.521 MB / 1.55 GB, free: 15.29 MB / 1.248 GB Notification: Performance of sort global known variables: time 3.91e-07/1.481, allocations: 4 kB / 1.55 GB, free: 15.29 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004895/1.485, allocations: 1.371 MB / 1.552 GB, free: 13.91 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01288/1.498, allocations: 7.537 MB / 1.559 GB, free: 6.156 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01177/1.51, allocations: 6.947 MB / 1.566 GB, free: 15.12 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.51, allocations: 4 kB / 1.566 GB, free: 15.11 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.007807/1.518, allocations: 4.434 MB / 1.57 GB, free: 10.6 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00588/1.524, allocations: 1.116 MB / 1.571 GB, free: 9.523 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06938/1.593, allocations: 39.19 MB / 1.609 GB, free: 1.223 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005531/1.599, allocations: 3.639 MB / 1.613 GB, free: 13.55 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002126/1.601, allocations: 0.5556 MB / 1.614 GB, free: 12.99 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002507/1.604, allocations: 1.983 MB / 1.615 GB, free: 11.01 MB / 1.311 GB Notification: Performance of SimCode: time 6.52e-07/1.604, allocations: 0 / 1.615 GB, free: 11.01 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1723/1.776, allocations: 111.6 MB / 1.724 GB, free: 12.64 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/17.1, allocations: 8 kB / 1.724 GB, free: 12.64 MB / 1.42 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches