Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 105.4 kB / 16.41 MB, free: 6.461 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.002005/0.002005, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.502/2.502, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7874/0.7887, allocations: 151.6 MB / 1.167 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03478/0.8235, allocations: 30.77 MB / 1.197 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02244/0.846, allocations: 13.58 MB / 1.211 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003392/0.8496, allocations: 143.2 kB / 1.211 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.008913/0.8585, allocations: 3.203 MB / 1.214 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.008401/0.8669, allocations: 2.752 MB / 1.217 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006138/0.8731, allocations: 2.012 MB / 1.219 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01102/0.8841, allocations: 7.647 MB / 1.226 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01197/0.8961, allocations: 8.233 MB / 1.234 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006355/0.9025, allocations: 3.463 MB / 1.237 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006087/0.9086, allocations: 3.379 MB / 1.241 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002007/0.9107, allocations: 0.6016 MB / 1.241 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004212/0.9149, allocations: 1.498 MB / 1.243 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003659/0.9186, allocations: 2.362 MB / 1.245 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.006619/0.9252, allocations: 2.882 MB / 1.248 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.9381, allocations: 9.461 MB / 1.257 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.046e-06/0.9381, allocations: 0 / 1.257 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9382, allocations: 3.938 kB / 1.257 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003222/0.9385, allocations: 0 / 1.257 GB, free: 7.609 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01255/0.951, allocations: 5.132 MB / 1.262 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.9511, allocations: 12.88 kB / 1.262 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005877/0.957, allocations: 1.002 MB / 1.263 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007275/0.9643, allocations: 3.067 MB / 1.266 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000279/0.9646, allocations: 316.8 kB / 1.266 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/0.9658, allocations: 428 kB / 1.267 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/0.9779, allocations: 6.787 MB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/0.978, allocations: 31.75 kB / 1.274 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004511/0.9785, allocations: 184 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008726/0.9794, allocations: 368 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009145/0.9885, allocations: 5.114 MB / 1.279 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03296/1.022, allocations: 30.51 MB / 1.309 GB, free: 15.43 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/1.024, allocations: 1.391 MB / 1.31 GB, free: 14.03 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/1.025, allocations: 1.335 MB / 1.311 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.914e-05/1.025, allocations: 13.31 kB / 1.312 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/1.025, allocations: 43.88 kB / 1.312 GB, free: 12.63 MB / 1.045 GB Notification: Performance of pre-optimization done (n=130): time 3.306e-06/1.025, allocations: 4 kB / 1.312 GB, free: 12.63 MB / 1.045 GB Notification: Performance of matching and sorting (n=199): time 0.08717/1.113, allocations: 23.09 MB / 1.334 GB, free: 5.418 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/1.113, allocations: 69.41 kB / 1.334 GB, free: 5.336 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00343/1.116, allocations: 2.066 MB / 1.336 GB, free: 3.254 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003423/1.116, allocations: 65.7 kB / 1.336 GB, free: 3.184 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00146/1.118, allocations: 1.998 MB / 1.338 GB, free: 1.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008433/1.119, allocations: 0.6855 MB / 1.339 GB, free: 476 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000944/1.12, allocations: 400.2 kB / 1.339 GB, free: 68 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.12, allocations: 313 kB / 1.34 GB, free: 15.76 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/1.122, allocations: 1.437 MB / 1.341 GB, free: 14.32 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002838/1.125, allocations: 2.017 MB / 1.343 GB, free: 12.05 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005119/1.13, allocations: 3.692 MB / 1.347 GB, free: 8.125 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/1.13, allocations: 4 kB / 1.347 GB, free: 8.121 MB / 1.076 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01173/1.142, allocations: 5.669 MB / 1.352 GB, free: 2.383 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/1.142, allocations: 12 kB / 1.352 GB, free: 2.371 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/1.142, allocations: 16 kB / 1.352 GB, free: 2.355 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007051/1.149, allocations: 2.076 MB / 1.354 GB, free: 228 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.151, allocations: 379.4 kB / 1.354 GB, free: 15.85 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03999/1.191, allocations: 38.44 MB / 1.392 GB, free: 6.875 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/1.193, allocations: 127.9 kB / 1.392 GB, free: 6.75 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003115/1.193, allocations: 92 kB / 1.392 GB, free: 6.66 MB / 1.123 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002504/1.196, allocations: 1.5 MB / 1.394 GB, free: 5.148 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007885/1.197, allocations: 284.7 kB / 1.394 GB, free: 4.867 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/1.208, allocations: 5.211 MB / 1.399 GB, free: 15.58 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/1.208, allocations: 20 kB / 1.399 GB, free: 15.56 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-05/1.208, allocations: 16 kB / 1.399 GB, free: 15.54 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/1.208, allocations: 11.95 kB / 1.399 GB, free: 15.53 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/1.226, allocations: 9.677 MB / 1.409 GB, free: 5.648 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.226, allocations: 8 kB / 1.409 GB, free: 5.641 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008862/1.227, allocations: 219.6 kB / 1.409 GB, free: 5.426 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005901/1.233, allocations: 1.846 MB / 1.411 GB, free: 3.523 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002135/1.233, allocations: 36 kB / 1.411 GB, free: 3.488 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03656/1.27, allocations: 37.44 MB / 1.447 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.31e-05/1.27, allocations: 11.94 kB / 1.447 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009452/1.279, allocations: 4.92 MB / 1.452 GB, free: 6.43 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/1.281, allocations: 0.6147 MB / 1.453 GB, free: 5.793 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000765/1.282, allocations: 44 kB / 1.453 GB, free: 5.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/1.284, allocations: 127.8 kB / 1.453 GB, free: 5.625 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006823/1.285, allocations: 197.5 kB / 1.453 GB, free: 5.43 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/1.285, allocations: 60 kB / 1.453 GB, free: 5.371 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00238/1.287, allocations: 1.374 MB / 1.454 GB, free: 3.988 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.7e-07/1.287, allocations: 0 / 1.454 GB, free: 3.988 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003781/1.291, allocations: 1.047 MB / 1.455 GB, free: 2.941 MB / 1.186 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003954/1.291, allocations: 167.9 kB / 1.456 GB, free: 2.77 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.009982/1.301, allocations: 6.292 MB / 1.462 GB, free: 12.25 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.301, allocations: 4 kB / 1.462 GB, free: 12.25 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.006817/1.308, allocations: 4.402 MB / 1.466 GB, free: 7.609 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004792/1.313, allocations: 0.986 MB / 1.467 GB, free: 6.656 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/1.329, allocations: 8.615 MB / 1.475 GB, free: 13.95 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003832/1.333, allocations: 3.179 MB / 1.478 GB, free: 10.73 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006411/1.333, allocations: 155.4 kB / 1.479 GB, free: 10.58 MB / 1.217 GB Notification: Performance of SimCode: time 8.12e-07/1.333, allocations: 4 kB / 1.479 GB, free: 10.58 MB / 1.217 GB Notification: Performance of Templates: time 1.016/2.349, allocations: 465 MB / 1.933 GB, free: 18.89 MB / 1.295 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches