Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001156/0.001156, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 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.00125/0.00125, allocations: 161 kB / 23.82 MB, free: 0.7539 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.068/1.068, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.991/1.991, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.645e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.004583/0.00461, allocations: 4.195 MB / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.006876, allocations: 1.572 MB / 0.7927 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.007137, allocations: 47.56 kB / 0.7928 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006447/0.007782, allocations: 191.7 kB / 0.793 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005532/0.008335, allocations: 408.7 kB / 0.7934 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.008873, allocations: 378.8 kB / 0.7937 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008855/0.009759, allocations: 1.143 MB / 0.7948 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006378/0.0104, allocations: 0.5139 MB / 0.7953 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007698/0.01117, allocations: 0.6049 MB / 0.7959 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.0116, allocations: 432.5 kB / 0.7963 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.679e-05/0.01167, allocations: 56 kB / 0.7964 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.01188, allocations: 135.8 kB / 0.7965 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.01209, allocations: 311.1 kB / 0.7968 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.0123, allocations: 272.7 kB / 0.7971 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006042/0.0129, allocations: 0.6733 MB / 0.7977 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.0129, allocations: 0 / 0.7977 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.292e-06/0.01291, allocations: 0.5625 kB / 0.7977 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.01291, allocations: 0 / 0.7977 GB, free: 1.586 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001089/0.014, allocations: 1.062 MB / 0.7988 GB, free: 500 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.01405, allocations: 9.719 kB / 0.7988 GB, free: 492 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009406/0.01499, allocations: 343.6 kB / 0.7991 GB, free: 148 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006469/0.01563, allocations: 0.5545 MB / 0.7996 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.01567, allocations: 42.56 kB / 0.7997 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.272e-05/0.01575, allocations: 76.3 kB / 0.7998 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008075/0.01656, allocations: 0.8997 MB / 0.8006 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.01658, allocations: 4.188 kB / 0.8006 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.01663, allocations: 28.38 kB / 0.8007 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.428e-05/0.0167, allocations: 73.2 kB / 0.8007 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.01715, allocations: 342.6 kB / 0.8011 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/0.02036, allocations: 5.64 MB / 0.8066 GB, free: 8.105 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.02079, allocations: 260.3 kB / 0.8068 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000417/0.02121, allocations: 252.8 kB / 0.8071 GB, free: 7.598 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.02125, allocations: 9.125 kB / 0.8071 GB, free: 7.59 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.02128, allocations: 45.16 kB / 0.8071 GB, free: 7.535 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 2.966e-06/0.02128, allocations: 0 / 0.8071 GB, free: 7.535 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.00215/0.02343, allocations: 1.138 MB / 0.8082 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.02346, allocations: 59.19 kB / 0.8083 GB, free: 6.305 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.0238, allocations: 478.4 kB / 0.8087 GB, free: 5.82 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.02383, allocations: 37.7 kB / 0.8088 GB, free: 5.777 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.02404, allocations: 438.7 kB / 0.8092 GB, free: 5.344 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.056e-05/0.02413, allocations: 166.6 kB / 0.8094 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.02424, allocations: 115.9 kB / 0.8095 GB, free: 5.059 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003345/0.02458, allocations: 0.5313 MB / 0.81 GB, free: 4.516 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.02473, allocations: 105.2 kB / 0.8101 GB, free: 4.414 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.02503, allocations: 404.7 kB / 0.8105 GB, free: 3.887 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.02552, allocations: 0.5486 MB / 0.811 GB, free: 3.207 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.02553, allocations: 4 kB / 0.811 GB, free: 3.203 MB / 0.7605 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009478/0.02648, allocations: 0.7261 MB / 0.8117 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.0265, allocations: 8 kB / 0.8117 GB, free: 2.445 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.02652, allocations: 8 kB / 0.8117 GB, free: 2.438 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006786/0.0272, allocations: 258.4 kB / 0.812 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.02739, allocations: 103.8 kB / 0.8121 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004447/0.03183, allocations: 7.724 MB / 0.8196 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.03204, allocations: 31.97 kB / 0.8197 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.03207, allocations: 28 kB / 0.8197 GB, free: 9.789 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.03226, allocations: 192.3 kB / 0.8199 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.03234, allocations: 71.66 kB / 0.8199 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000795/0.03314, allocations: 0.571 MB / 0.8205 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.03314, allocations: 4 kB / 0.8205 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.03315, allocations: 4 kB / 0.8205 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.03315, allocations: 7.938 kB / 0.8205 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.03451, allocations: 1.138 MB / 0.8216 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.03452, allocations: 0 / 0.8216 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-05/0.03461, allocations: 43.91 kB / 0.8217 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005629/0.03517, allocations: 246.7 kB / 0.8219 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.03519, allocations: 8 kB / 0.8219 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004505/0.0397, allocations: 7.725 MB / 0.8294 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.0397, allocations: 3.938 kB / 0.8294 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008219/0.04052, allocations: 0.735 MB / 0.8302 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.04066, allocations: 99.55 kB / 0.8303 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.04069, allocations: 8 kB / 0.8303 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.04082, allocations: 15.98 kB / 0.8303 GB, free: 14.24 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.04093, allocations: 47.67 kB / 0.8303 GB, free: 14.19 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.04095, allocations: 12 kB / 0.8303 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004738/0.04143, allocations: 298.8 kB / 0.8306 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.5e-07/0.04143, allocations: 0 / 0.8306 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007167/0.04215, allocations: 200 kB / 0.8308 GB, free: 13.7 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001841/0.04233, allocations: 111.2 kB / 0.8309 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.04356, allocations: 1.152 MB / 0.832 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.04357, allocations: 0 / 0.832 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007015/0.04427, allocations: 0.9457 MB / 0.833 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.04496, allocations: 200.2 kB / 0.8332 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.04672, allocations: 1.167 MB / 0.8343 GB, free: 9.926 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.04687, allocations: 210.2 kB / 0.8345 GB, free: 9.699 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001755/0.04705, allocations: 85 kB / 0.8346 GB, free: 9.613 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.04711, allocations: 36.48 kB / 0.8346 GB, free: 9.578 MB / 0.7917 GB Notification: Performance of SimCode: time 9.52e-07/0.04711, allocations: 0 / 0.8346 GB, free: 9.578 MB / 0.7917 GB Notification: Performance of Templates: time 0.01399/0.0611, allocations: 10.56 MB / 0.8449 GB, free: 15.24 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.023828689008951]