Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001371/0.001371, allocations: 81.55 kB / 19.87 MB, free: 4.617 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.00174/0.00174, allocations: 169 kB / 23.28 MB, free: 1.215 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 0.8995/0.8995, allocations: 177.1 MB / 203.7 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 2.218/2.218, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] 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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.12e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.005528/0.005549, allocations: 6.244 MB / 0.8959 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003354/0.008903, allocations: 2.071 MB / 0.8979 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005033/0.009406, allocations: 43.69 kB / 0.8979 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006131/0.01002, allocations: 266.2 kB / 0.8982 GB, free: 1.082 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008755/0.01089, allocations: 0.6527 MB / 0.8988 GB, free: 436 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007815/0.01168, allocations: 0.5537 MB / 0.8993 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001765/0.01344, allocations: 2.745 MB / 0.902 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.01468, allocations: 1.375 MB / 0.9034 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.01639, allocations: 1.571 MB / 0.9049 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.01766, allocations: 1.43 MB / 0.9063 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.01789, allocations: 216 kB / 0.9065 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004572/0.01835, allocations: 319.7 kB / 0.9068 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006312/0.01898, allocations: 1.064 MB / 0.9079 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005841/0.01956, allocations: 0.7212 MB / 0.9086 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.02095, allocations: 1.909 MB / 0.9104 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.02095, allocations: 0 / 0.9104 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.232e-06/0.02096, allocations: 0 / 0.9104 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.671e-05/0.02098, allocations: 0 / 0.9104 GB, free: 4.461 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002142/0.02312, allocations: 2.057 MB / 0.9124 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.02316, allocations: 16.5 kB / 0.9124 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0025/0.02566, allocations: 0.9128 MB / 0.9133 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009492/0.02661, allocations: 0.9399 MB / 0.9143 GB, free: 464 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/0.02666, allocations: 115.3 kB / 0.9144 GB, free: 348 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.02682, allocations: 144.3 kB / 0.9145 GB, free: 204 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.02829, allocations: 1.516 MB / 0.916 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.02832, allocations: 8.125 kB / 0.916 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.02842, allocations: 60.34 kB / 0.916 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/0.02856, allocations: 182.9 kB / 0.9162 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/0.02937, allocations: 0.5595 MB / 0.9168 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006315/0.03568, allocations: 8.03 MB / 0.9246 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007921/0.03647, allocations: 410.2 kB / 0.925 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.03679, allocations: 292.3 kB / 0.9253 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.03683, allocations: 12.66 kB / 0.9253 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.03686, allocations: 46.05 kB / 0.9253 GB, free: 4.676 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 3.636e-06/0.03686, allocations: 0 / 0.9253 GB, free: 4.676 MB / 0.8855 GB Notification: Performance of matching and sorting (n=139): time 0.009208/0.04607, allocations: 4.991 MB / 0.9302 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.0461, allocations: 68.72 kB / 0.9303 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/0.0468, allocations: 0.7447 MB / 0.931 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.04691, allocations: 45.7 kB / 0.931 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007792/0.04769, allocations: 0.8152 MB / 0.9318 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004382/0.04812, allocations: 0.5229 MB / 0.9324 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005104/0.04863, allocations: 293 kB / 0.9326 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.04882, allocations: 0.5315 MB / 0.9332 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.04923, allocations: 247.8 kB / 0.9334 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/0.0498, allocations: 0.7164 MB / 0.9341 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.05087, allocations: 1.051 MB / 0.9351 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.05088, allocations: 7.938 kB / 0.9351 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004281/0.05516, allocations: 2.508 MB / 0.9376 GB, free: 7.715 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.05518, allocations: 16.05 kB / 0.9376 GB, free: 7.699 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.0552, allocations: 8 kB / 0.9376 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004322/0.05952, allocations: 1.72 MB / 0.9393 GB, free: 5.957 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.05992, allocations: 171.7 kB / 0.9394 GB, free: 5.789 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/0.07297, allocations: 13.89 MB / 0.953 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007451/0.07371, allocations: 44.06 kB / 0.953 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.933e-05/0.0738, allocations: 47.97 kB / 0.9531 GB, free: 7.348 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004215/0.07422, allocations: 236.3 kB / 0.9533 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.07442, allocations: 155.3 kB / 0.9535 GB, free: 6.953 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/0.07841, allocations: 2.448 MB / 0.9559 GB, free: 4.469 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.07842, allocations: 12 kB / 0.9559 GB, free: 4.457 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-05/0.07844, allocations: 20 kB / 0.9559 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.07845, allocations: 7.969 kB / 0.9559 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00623/0.08468, allocations: 3.996 MB / 0.9598 GB, free: 328 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.08469, allocations: 4 kB / 0.9598 GB, free: 324 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.08491, allocations: 103.8 kB / 0.9599 GB, free: 220 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003908/0.08882, allocations: 1.622 MB / 0.9615 GB, free: 14.58 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/0.0889, allocations: 27.98 kB / 0.9615 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01214/0.101, allocations: 12.83 MB / 0.974 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.101, allocations: 4 kB / 0.974 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004072/0.1051, allocations: 2.511 MB / 0.9765 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/0.1056, allocations: 315 kB / 0.9768 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.1057, allocations: 27.94 kB / 0.9768 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.1061, allocations: 28 kB / 0.9768 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003328/0.1064, allocations: 136.9 kB / 0.977 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/0.1065, allocations: 24 kB / 0.977 GB, free: 14.13 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002995/0.1068, allocations: 438.8 kB / 0.9774 GB, free: 13.71 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1068, allocations: 0 / 0.9774 GB, free: 13.71 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001576/0.1083, allocations: 0.7227 MB / 0.9781 GB, free: 12.99 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001843/0.1085, allocations: 135.1 kB / 0.9783 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002722/0.1112, allocations: 2.33 MB / 0.9805 GB, free: 10.44 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1112, allocations: 0.5 kB / 0.9805 GB, free: 10.44 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.1136, allocations: 1.898 MB / 0.9824 GB, free: 8.473 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007316/0.1143, allocations: 220.2 kB / 0.9826 GB, free: 8.262 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.1181, allocations: 3.243 MB / 0.9858 GB, free: 4.918 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/0.1186, allocations: 0.5423 MB / 0.9863 GB, free: 4.352 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002802/0.1189, allocations: 105.5 kB / 0.9864 GB, free: 4.246 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.1192, allocations: 234.1 kB / 0.9866 GB, free: 4.016 MB / 0.948 GB Notification: Performance of SimCode: time 1.442e-06/0.1192, allocations: 0 / 0.9866 GB, free: 4.016 MB / 0.948 GB Notification: Performance of Templates: time 0.04391/0.1631, allocations: 43.87 MB / 1.029 GB, free: 8.426 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.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: 5.52563423383981]