Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001724/0.001724, allocations: 92.7 kB / 19.44 MB, free: 324 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.002318/0.002318, allocations: 161.3 kB / 22.76 MB, free: 1.656 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.47/1.47, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.208/3.208, allocations: 429.6 MB / 0.673 GB, free: 3.898 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.39e-06/5.39e-06, allocations: 3.984 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/3.299e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.05098/0.05101, allocations: 33 MB / 0.9098 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0223/0.07331, allocations: 9.898 MB / 0.9195 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005733/0.07904, allocations: 194.6 kB / 0.9197 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01369/0.09273, allocations: 3.826 MB / 0.9234 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.007577/0.1003, allocations: 2.194 MB / 0.9256 GB, free: 5.25 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.006709/0.107, allocations: 1.987 MB / 0.9275 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01325/0.1203, allocations: 8.125 MB / 0.9354 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01271/0.133, allocations: 5.257 MB / 0.9406 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01199/0.145, allocations: 4.865 MB / 0.9453 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007761/0.1527, allocations: 3.429 MB / 0.9487 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.002473/0.1552, allocations: 0.6914 MB / 0.9494 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004605/0.1598, allocations: 1.388 MB / 0.9507 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.005252/0.1651, allocations: 2.825 MB / 0.9535 GB, free: 8.496 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.006425/0.1715, allocations: 2.191 MB / 0.9556 GB, free: 6.301 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01765/0.1891, allocations: 10.68 MB / 0.966 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1891, allocations: 4 kB / 0.966 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1891, allocations: 3.938 kB / 0.966 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003623/0.1895, allocations: 0 / 0.966 GB, free: 11.58 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01681/0.2063, allocations: 5.439 MB / 0.9714 GB, free: 6.082 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2064, allocations: 8.031 kB / 0.9714 GB, free: 6.074 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008527/0.2149, allocations: 1.593 MB / 0.9729 GB, free: 4.477 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/0.2251, allocations: 3.432 MB / 0.9763 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004742/0.2255, allocations: 357.9 kB / 0.9766 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00218/0.2277, allocations: 484.3 kB / 0.9771 GB, free: 160 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02185/0.2496, allocations: 8.652 MB / 0.9855 GB, free: 6.957 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001767/0.2497, allocations: 28 kB / 0.9855 GB, free: 6.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009175/0.2507, allocations: 208.3 kB / 0.9857 GB, free: 6.727 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006466/0.2513, allocations: 369 kB / 0.9861 GB, free: 6.363 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/0.2657, allocations: 5.922 MB / 0.9919 GB, free: 436 kB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04094/0.3066, allocations: 23.11 MB / 1.014 GB, free: 8.652 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004202/0.3108, allocations: 1.999 MB / 1.016 GB, free: 6.641 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002415/0.3132, allocations: 1.334 MB / 1.018 GB, free: 5.305 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.3134, allocations: 37.25 kB / 1.018 GB, free: 5.27 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.56e-05/0.3134, allocations: 51.88 kB / 1.018 GB, free: 5.207 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=157): time 4.288e-06/0.3134, allocations: 0 / 1.018 GB, free: 5.207 MB / 0.9792 GB Notification: Performance of matching and sorting (n=160): time 0.01733/0.3308, allocations: 6.702 MB / 1.024 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.3308, allocations: 68.72 kB / 1.024 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/0.3341, allocations: 1.662 MB / 1.026 GB, free: 12.68 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002278/0.3343, allocations: 53.7 kB / 1.026 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002103/0.3364, allocations: 2.195 MB / 1.028 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007767/0.3372, allocations: 0.5809 MB / 1.029 GB, free: 9.824 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008763/0.3381, allocations: 400 kB / 1.029 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3383, allocations: 301.1 kB / 1.029 GB, free: 9.129 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/0.3403, allocations: 1.031 MB / 1.03 GB, free: 8.094 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/0.3431, allocations: 1.833 MB / 1.032 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005081/0.3482, allocations: 3.115 MB / 1.035 GB, free: 2.406 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-05/0.3482, allocations: 8 kB / 1.035 GB, free: 2.398 MB / 0.9948 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.008456/0.3567, allocations: 3.976 MB / 1.039 GB, free: 14.38 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/0.3567, allocations: 16 kB / 1.039 GB, free: 14.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.348e-05/0.3568, allocations: 28 kB / 1.039 GB, free: 14.33 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003472/0.3602, allocations: 0.9941 MB / 1.04 GB, free: 13.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.3621, allocations: 431.2 kB / 1.041 GB, free: 12.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5319/0.894, allocations: 21.17 MB / 1.061 GB, free: 192.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.8961, allocations: 128.4 kB / 1.061 GB, free: 192.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004661/0.8966, allocations: 98.28 kB / 1.061 GB, free: 192.3 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.002862/0.8995, allocations: 1.654 MB / 1.063 GB, free: 191.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007043/0.9002, allocations: 299.2 kB / 1.063 GB, free: 191.6 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/0.9051, allocations: 3.227 MB / 1.067 GB, free: 190.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.9051, allocations: 15.12 kB / 1.067 GB, free: 190.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/0.9051, allocations: 12.25 kB / 1.067 GB, free: 190.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.9051, allocations: 9.891 kB / 1.067 GB, free: 190.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.9152, allocations: 6.435 MB / 1.073 GB, free: 187.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.9152, allocations: 7 kB / 1.073 GB, free: 187.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009218/0.9161, allocations: 212.9 kB / 1.073 GB, free: 187.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002734/0.9188, allocations: 0.9473 MB / 1.074 GB, free: 187.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/0.919, allocations: 31.94 kB / 1.074 GB, free: 187.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01674/0.9357, allocations: 21.12 MB / 1.095 GB, free: 169.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.9357, allocations: 5.031 kB / 1.095 GB, free: 169.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006044/0.9418, allocations: 3.393 MB / 1.098 GB, free: 168.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/0.9432, allocations: 453.7 kB / 1.098 GB, free: 168.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003417/0.9435, allocations: 30.81 kB / 1.098 GB, free: 168.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.9445, allocations: 91.06 kB / 1.099 GB, free: 168.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004508/0.945, allocations: 151.8 kB / 1.099 GB, free: 168.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.9451, allocations: 42.47 kB / 1.099 GB, free: 168.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00158/0.9467, allocations: 1.06 MB / 1.1 GB, free: 167.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9467, allocations: 0 / 1.1 GB, free: 167.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004734/0.9514, allocations: 0.8989 MB / 1.101 GB, free: 167.8 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004387/0.9519, allocations: 160.4 kB / 1.101 GB, free: 167.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.008002/0.9599, allocations: 4.277 MB / 1.105 GB, free: 165.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.816e-05/0.9599, allocations: 2.156 kB / 1.105 GB, free: 165.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004255/0.9641, allocations: 2.909 MB / 1.108 GB, free: 163.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003813/0.9679, allocations: 0.7793 MB / 1.109 GB, free: 163.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.9838, allocations: 7.877 MB / 1.116 GB, free: 159.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004872/0.9887, allocations: 2.663 MB / 1.119 GB, free: 158.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002151/0.9908, allocations: 0.5069 MB / 1.119 GB, free: 158.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/0.9913, allocations: 134 kB / 1.119 GB, free: 158.6 MB / 1.01 GB Notification: Performance of SimCode: time 2.395e-06/0.9913, allocations: 0 / 1.119 GB, free: 158.6 MB / 1.01 GB Notification: Performance of Templates: time 0.0728/1.064, allocations: 41.98 MB / 1.16 GB, free: 139.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.25900017505046]