Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 220.1 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.057/3.057, allocations: 0.49 GB / 0.7951 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.02 kB / 1.154 GB, free: 25.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3433, allocations: 176.1 MB / 1.326 GB, free: 2.133 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04272/0.386, allocations: 32.15 MB / 1.357 GB, free: 1.875 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0239/0.4099, allocations: 14.02 MB / 1.371 GB, free: 3.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003397/0.4133, allocations: 190.5 kB / 1.371 GB, free: 3.633 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008758/0.422, allocations: 3.346 MB / 1.374 GB, free: 288 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008298/0.4303, allocations: 2.774 MB / 1.377 GB, free: 13.49 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005547/0.4359, allocations: 2.069 MB / 1.379 GB, free: 11.42 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01097/0.4469, allocations: 7.622 MB / 1.387 GB, free: 3.77 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007389/0.4542, allocations: 4.654 MB / 1.391 GB, free: 15 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005868/0.4601, allocations: 3.513 MB / 1.395 GB, free: 11.47 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006412/0.4665, allocations: 3.574 MB / 1.398 GB, free: 7.887 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00177/0.4683, allocations: 0.5938 MB / 1.399 GB, free: 7.293 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00402/0.4723, allocations: 1.513 MB / 1.4 GB, free: 5.777 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003376/0.4757, allocations: 2.431 MB / 1.403 GB, free: 3.34 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005422/0.4811, allocations: 2.878 MB / 1.405 GB, free: 460 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.4951, allocations: 9.484 MB / 1.415 GB, free: 6.934 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.4951, allocations: 0 / 1.415 GB, free: 6.934 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4951, allocations: 0 / 1.415 GB, free: 6.934 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003217/0.4954, allocations: 4 kB / 1.415 GB, free: 6.93 MB / 1.107 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.01464/0.51, allocations: 5.195 MB / 1.42 GB, free: 1.668 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.5101, allocations: 8.031 kB / 1.42 GB, free: 1.66 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001895/0.512, allocations: 0.6203 MB / 1.42 GB, free: 1.027 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006581/0.5186, allocations: 1.024 MB / 1.421 GB, free: 0 / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008322/0.5269, allocations: 3.021 MB / 1.424 GB, free: 12.89 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003693/0.5273, allocations: 316.8 kB / 1.425 GB, free: 12.57 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.5287, allocations: 423.9 kB / 1.425 GB, free: 12.16 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01627/0.545, allocations: 6.787 MB / 1.432 GB, free: 5.078 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001834/0.5452, allocations: 19.89 kB / 1.432 GB, free: 5.059 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001191/0.5464, allocations: 184 kB / 1.432 GB, free: 4.879 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009143/0.5473, allocations: 372 kB / 1.432 GB, free: 4.512 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/0.5591, allocations: 5.114 MB / 1.437 GB, free: 15.38 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04557/0.6047, allocations: 30.27 MB / 1.467 GB, free: 14.34 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/0.607, allocations: 1.312 MB / 1.468 GB, free: 13.01 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/0.609, allocations: 1.246 MB / 1.469 GB, free: 11.77 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.6091, allocations: 13.31 kB / 1.469 GB, free: 11.75 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.6091, allocations: 55.88 kB / 1.469 GB, free: 11.69 MB / 1.17 GB Notification: Performance of pre-optimization done (n=130): time 3.307e-06/0.6091, allocations: 0 / 1.469 GB, free: 11.69 MB / 1.17 GB Notification: Performance of matching and sorting (n=199): time 0.08621/0.6954, allocations: 22.85 MB / 1.492 GB, free: 4.781 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.84e-05/0.6955, allocations: 73.41 kB / 1.492 GB, free: 4.695 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003721/0.6992, allocations: 2.062 MB / 1.494 GB, free: 2.617 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002829/0.6995, allocations: 61.7 kB / 1.494 GB, free: 2.551 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00174/0.7012, allocations: 2.063 MB / 1.496 GB, free: 480 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008585/0.7021, allocations: 0.7128 MB / 1.496 GB, free: 15.75 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/0.7031, allocations: 408.4 kB / 1.497 GB, free: 15.34 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.7032, allocations: 316.9 kB / 1.497 GB, free: 15.03 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/0.7056, allocations: 1.426 MB / 1.498 GB, free: 13.6 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002792/0.7084, allocations: 2.017 MB / 1.5 GB, free: 11.34 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005308/0.7137, allocations: 3.692 MB / 1.504 GB, free: 7.406 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/0.7137, allocations: 7.938 kB / 1.504 GB, free: 7.398 MB / 1.201 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01198/0.7257, allocations: 5.596 MB / 1.51 GB, free: 1.734 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.7257, allocations: 16 kB / 1.51 GB, free: 1.719 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/0.7257, allocations: 20.12 kB / 1.51 GB, free: 1.699 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006849/0.7326, allocations: 2.083 MB / 1.512 GB, free: 15.56 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.7342, allocations: 379.3 kB / 1.512 GB, free: 15.19 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0447/0.7789, allocations: 36.62 MB / 1.548 GB, free: 8.492 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/0.7811, allocations: 123.9 kB / 1.548 GB, free: 8.371 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.7813, allocations: 88 kB / 1.548 GB, free: 8.285 MB / 1.248 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.002707/0.784, allocations: 1.509 MB / 1.549 GB, free: 6.766 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005174/0.7846, allocations: 306.2 kB / 1.55 GB, free: 6.465 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/0.7952, allocations: 5.141 MB / 1.555 GB, free: 1.25 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.7953, allocations: 20 kB / 1.555 GB, free: 1.23 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.135e-05/0.7953, allocations: 20 kB / 1.555 GB, free: 1.211 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/0.7953, allocations: 11.95 kB / 1.555 GB, free: 1.199 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01995/0.8153, allocations: 9.578 MB / 1.564 GB, free: 7.418 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/0.8153, allocations: 8 kB / 1.564 GB, free: 7.41 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009532/0.8163, allocations: 215.6 kB / 1.564 GB, free: 7.199 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006179/0.8225, allocations: 1.846 MB / 1.566 GB, free: 5.297 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002296/0.8227, allocations: 40 kB / 1.566 GB, free: 5.258 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6972/1.52, allocations: 35.61 MB / 1.601 GB, free: 248.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/1.52, allocations: 13.58 kB / 1.601 GB, free: 248.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009982/1.53, allocations: 4.85 MB / 1.606 GB, free: 248.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/1.532, allocations: 0.5599 MB / 1.606 GB, free: 248.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005875/1.532, allocations: 39.36 kB / 1.606 GB, free: 248.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.534, allocations: 134.5 kB / 1.606 GB, free: 248.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007423/1.535, allocations: 203.2 kB / 1.607 GB, free: 248.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/1.535, allocations: 54.42 kB / 1.607 GB, free: 248.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002645/1.538, allocations: 1.381 MB / 1.608 GB, free: 247.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.71e-07/1.538, allocations: 3.125 kB / 1.608 GB, free: 247.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004304/1.542, allocations: 1.047 MB / 1.609 GB, free: 247.9 MB / 1.295 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.01125/1.553, allocations: 5.474 MB / 1.614 GB, free: 246.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.563, allocations: 6.011 MB / 1.62 GB, free: 243.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/1.563, allocations: 5.969 kB / 1.62 GB, free: 243.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006378/1.57, allocations: 4.28 MB / 1.624 GB, free: 240.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004568/1.574, allocations: 0.991 MB / 1.625 GB, free: 240.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05309/1.627, allocations: 30.76 MB / 1.655 GB, free: 226.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00525/1.632, allocations: 3.126 MB / 1.658 GB, free: 225.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002456/1.635, allocations: 0.527 MB / 1.659 GB, free: 225.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002707/1.638, allocations: 1.671 MB / 1.661 GB, free: 223.7 MB / 1.295 GB Notification: Performance of SimCode: time 2.194e-06/1.638, allocations: 0 / 1.661 GB, free: 223.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1729/1.811, allocations: 90.99 MB / 1.749 GB, free: 136.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.04/18.85, allocations: 6.594 kB / 1.75 GB, free: 136.6 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 25.814911586930975]