Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00182/0.00182, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002056/0.002056, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.633/1.633, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.415/3.415, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.553e-05, allocations: 3.609 kB / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04444/0.04446, allocations: 30.93 MB / 0.9077 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.028/0.07246, allocations: 13.75 MB / 0.9211 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/0.07564, allocations: 198.5 kB / 0.9213 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.009653/0.0853, allocations: 3.305 MB / 0.9245 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.008289/0.09359, allocations: 2.834 MB / 0.9273 GB, free: 3.477 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.006141/0.09973, allocations: 2.03 MB / 0.9293 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01236/0.1121, allocations: 7.795 MB / 0.9369 GB, free: 9.617 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009951/0.122, allocations: 4.624 MB / 0.9414 GB, free: 4.871 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01053/0.1326, allocations: 4.951 MB / 0.9462 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006783/0.1393, allocations: 3.242 MB / 0.9494 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.00189/0.1412, allocations: 0.5938 MB / 0.95 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004157/0.1454, allocations: 1.411 MB / 0.9514 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.004087/0.1495, allocations: 2.564 MB / 0.9539 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.005026/0.1545, allocations: 2.015 MB / 0.9558 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.1679, allocations: 9.661 MB / 0.9653 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1679, allocations: 0 / 0.9653 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1679, allocations: 4 kB / 0.9653 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002042/0.1681, allocations: 0 / 0.9653 GB, free: 12.37 MB / 0.9323 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.01276/0.1808, allocations: 5.873 MB / 0.971 GB, free: 6.418 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1809, allocations: 8.031 kB / 0.971 GB, free: 6.41 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006769/0.1876, allocations: 1.562 MB / 0.9725 GB, free: 4.844 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007627/0.1953, allocations: 3.027 MB / 0.9755 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.1956, allocations: 320.8 kB / 0.9758 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009083/0.1965, allocations: 436.3 kB / 0.9762 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/0.2076, allocations: 5.13 MB / 0.9812 GB, free: 11.35 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001378/0.2078, allocations: 31.75 kB / 0.9813 GB, free: 11.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004959/0.2083, allocations: 180 kB / 0.9814 GB, free: 11.14 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009928/0.2093, allocations: 376 kB / 0.9818 GB, free: 10.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006092/0.2154, allocations: 1.937 MB / 0.9837 GB, free: 8.82 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0403/0.2557, allocations: 25.69 MB / 1.009 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.2573, allocations: 0.6611 MB / 1.009 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.2585, allocations: 0.6241 MB / 1.01 GB, free: 13.1 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.2586, allocations: 21.31 kB / 1.01 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/0.2587, allocations: 54.7 kB / 1.01 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=130): time 3.887e-06/0.2587, allocations: 0 / 1.01 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of matching and sorting (n=199): time 0.02368/0.2824, allocations: 7.306 MB / 1.017 GB, free: 5.641 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.2824, allocations: 73.41 kB / 1.017 GB, free: 5.555 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/0.2864, allocations: 2.36 MB / 1.02 GB, free: 3.16 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003335/0.2868, allocations: 57.7 kB / 1.02 GB, free: 3.098 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002098/0.2889, allocations: 2.258 MB / 1.022 GB, free: 0.8203 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/0.29, allocations: 0.7752 MB / 1.023 GB, free: 40 kB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.291, allocations: 0.4946 MB / 1.023 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002471/0.2912, allocations: 476.8 kB / 1.024 GB, free: 15.06 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.2929, allocations: 0.7151 MB / 1.024 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/0.2954, allocations: 1.616 MB / 1.026 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00471/0.3001, allocations: 2.522 MB / 1.028 GB, free: 9.547 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/0.3001, allocations: 12 kB / 1.028 GB, free: 9.535 MB / 0.9948 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01081/0.3109, allocations: 3.893 MB / 1.032 GB, free: 5.555 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.311, allocations: 14.81 kB / 1.032 GB, free: 5.543 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/0.311, allocations: 19.98 kB / 1.032 GB, free: 5.523 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009869/0.3209, allocations: 1.997 MB / 1.034 GB, free: 3.453 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.3226, allocations: 375.4 kB / 1.034 GB, free: 3.086 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4187/0.7413, allocations: 37.91 MB / 1.071 GB, free: 174.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.7436, allocations: 127.9 kB / 1.072 GB, free: 174.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.7437, allocations: 89.12 kB / 1.072 GB, free: 174.2 MB / 1.01 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.001181/0.7449, allocations: 467.9 kB / 1.072 GB, free: 174.1 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004672/0.7454, allocations: 336.9 kB / 1.072 GB, free: 174.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007965/0.7534, allocations: 3.361 MB / 1.076 GB, free: 173.6 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.7534, allocations: 20 kB / 1.076 GB, free: 173.6 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.461e-05/0.7534, allocations: 18.16 kB / 1.076 GB, free: 173.6 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.7534, allocations: 16.78 kB / 1.076 GB, free: 173.6 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/0.768, allocations: 8.026 MB / 1.084 GB, free: 171.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.768, allocations: 6.5 kB / 1.084 GB, free: 171.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008286/0.7689, allocations: 220.4 kB / 1.084 GB, free: 171.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007442/0.7763, allocations: 1.848 MB / 1.086 GB, free: 170.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.7765, allocations: 37.56 kB / 1.086 GB, free: 170.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02552/0.802, allocations: 37.57 MB / 1.122 GB, free: 136.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.802, allocations: 11.59 kB / 1.122 GB, free: 136.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007544/0.8095, allocations: 3.464 MB / 1.126 GB, free: 134.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/0.8111, allocations: 0.5067 MB / 1.126 GB, free: 134.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004013/0.8115, allocations: 43.28 kB / 1.126 GB, free: 134.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.8129, allocations: 134.2 kB / 1.126 GB, free: 134.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006188/0.8136, allocations: 199.3 kB / 1.127 GB, free: 134.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.8137, allocations: 55 kB / 1.127 GB, free: 134.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00177/0.8155, allocations: 1.339 MB / 1.128 GB, free: 133.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8155, allocations: 0 / 1.128 GB, free: 133.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003664/0.8191, allocations: 1.049 MB / 1.129 GB, free: 133.8 MB / 1.01 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.0002877/0.8194, allocations: 167.4 kB / 1.129 GB, free: 133.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.008248/0.8277, allocations: 5.897 MB / 1.135 GB, free: 129.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.8277, allocations: 1 kB / 1.135 GB, free: 129.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00569/0.8334, allocations: 4.823 MB / 1.14 GB, free: 125.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/0.8373, allocations: 0.9083 MB / 1.141 GB, free: 125.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.8491, allocations: 7.499 MB / 1.148 GB, free: 121.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003293/0.8524, allocations: 2.35 MB / 1.15 GB, free: 121 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001649/0.854, allocations: 438.4 kB / 1.151 GB, free: 120.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/0.8544, allocations: 135.5 kB / 1.151 GB, free: 120.9 MB / 1.01 GB Notification: Performance of SimCode: time 1.153e-06/0.8544, allocations: 0 / 1.151 GB, free: 120.9 MB / 1.01 GB Notification: Performance of Templates: time 0.08116/0.9355, allocations: 61.43 MB / 1.211 GB, free: 83.98 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.995479604112916]