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.0009666/0.0009666, allocations: 92.22 kB / 19.65 MB, free: 276 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.00097/0.00097, allocations: 169 kB / 23.02 MB, free: 1.547 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.9205/0.9205, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.036/2.036, allocations: 429.5 MB / 0.6733 GB, free: 4.031 MB / 0.6355 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.042e-06/1.042e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.225e-06/9.267e-06, allocations: 2.312 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.005358/0.005367, allocations: 6.373 MB / 0.8844 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.007698, allocations: 2.085 MB / 0.8864 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.007939, allocations: 51.62 kB / 0.8865 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005433/0.008482, allocations: 254.3 kB / 0.8867 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006657/0.009148, allocations: 0.6547 MB / 0.8874 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.009709, allocations: 0.546 MB / 0.8879 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001642/0.01135, allocations: 2.745 MB / 0.8906 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.01266, allocations: 1.368 MB / 0.8919 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.01382, allocations: 1.579 MB / 0.8935 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.01494, allocations: 1.407 MB / 0.8948 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.01516, allocations: 220 kB / 0.895 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000366/0.01552, allocations: 323.6 kB / 0.8954 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.00062/0.01614, allocations: 1.064 MB / 0.8964 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005743/0.01672, allocations: 0.7173 MB / 0.8971 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.01817, allocations: 1.924 MB / 0.899 GB, free: 0.9141 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.01817, allocations: 0 / 0.899 GB, free: 0.9141 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.71e-07/0.01817, allocations: 7.938 kB / 0.899 GB, free: 0.9062 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.052e-05/0.01819, allocations: 0 / 0.899 GB, free: 0.9062 MB / 0.8542 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.00201/0.0202, allocations: 2.046 MB / 0.901 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.02024, allocations: 8.031 kB / 0.901 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/0.02329, allocations: 1.17 MB / 0.9021 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.02453, allocations: 1.068 MB / 0.9032 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.0246, allocations: 111.3 kB / 0.9033 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.02478, allocations: 140.4 kB / 0.9034 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.02678, allocations: 1.665 MB / 0.905 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.0268, allocations: 4.125 kB / 0.905 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.02692, allocations: 64.36 kB / 0.9051 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/0.02707, allocations: 178.9 kB / 0.9053 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.02874, allocations: 0.7205 MB / 0.906 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008005/0.03675, allocations: 8.678 MB / 0.9145 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007946/0.03754, allocations: 475.2 kB / 0.9149 GB, free: 100 kB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004767/0.03802, allocations: 339.8 kB / 0.9152 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.787e-05/0.03808, allocations: 16.66 kB / 0.9152 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.0381, allocations: 42.05 kB / 0.9153 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 1.964e-06/0.0381, allocations: 3.938 kB / 0.9153 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of matching and sorting (n=139): time 0.01122/0.04932, allocations: 5.735 MB / 0.9209 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.04937, allocations: 64.72 kB / 0.921 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006781/0.05004, allocations: 0.7647 MB / 0.9217 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.539e-05/0.05012, allocations: 49.7 kB / 0.9217 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.05051, allocations: 0.8036 MB / 0.9225 GB, free: 8.207 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/0.05085, allocations: 0.5191 MB / 0.923 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003855/0.05123, allocations: 289.2 kB / 0.9233 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.05141, allocations: 0.5276 MB / 0.9238 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006041/0.05201, allocations: 331.8 kB / 0.9241 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007831/0.0528, allocations: 0.7908 MB / 0.9249 GB, free: 5.582 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.0542, allocations: 1.198 MB / 0.9261 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.0542, allocations: 0 / 0.9261 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005156/0.05936, allocations: 2.834 MB / 0.9289 GB, free: 1.359 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.05938, allocations: 12 kB / 0.9289 GB, free: 1.348 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.05939, allocations: 8 kB / 0.9289 GB, free: 1.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004402/0.06379, allocations: 1.873 MB / 0.9307 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.06418, allocations: 191.7 kB / 0.9309 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/0.07846, allocations: 14.83 MB / 0.9454 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/0.07905, allocations: 91.89 kB / 0.9455 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-05/0.07914, allocations: 56 kB / 0.9455 GB, free: 15.81 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.0003685/0.07951, allocations: 248.2 kB / 0.9458 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.07969, allocations: 159.3 kB / 0.9459 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004885/0.08458, allocations: 2.733 MB / 0.9486 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.08459, allocations: 12 kB / 0.9486 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/0.0846, allocations: 20 kB / 0.9486 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.08461, allocations: 11.92 kB / 0.9486 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00694/0.09155, allocations: 4.679 MB / 0.9532 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.09156, allocations: 4 kB / 0.9532 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.09179, allocations: 115.9 kB / 0.9533 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004404/0.09619, allocations: 1.777 MB / 0.955 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.563e-05/0.09627, allocations: 28 kB / 0.9551 GB, free: 5.844 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.1093, allocations: 13.63 MB / 0.9684 GB, free: 7.723 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1093, allocations: 4 kB / 0.9684 GB, free: 7.719 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004843/0.1142, allocations: 2.804 MB / 0.9711 GB, free: 4.812 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005195/0.1147, allocations: 379 kB / 0.9715 GB, free: 4.441 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.1148, allocations: 32 kB / 0.9715 GB, free: 4.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.1152, allocations: 72.09 kB / 0.9716 GB, free: 4.34 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/0.1155, allocations: 132.9 kB / 0.9717 GB, free: 4.211 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/0.1156, allocations: 40 kB / 0.9717 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003808/0.116, allocations: 482.8 kB / 0.9722 GB, free: 3.703 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.116, allocations: 0 / 0.9722 GB, free: 3.703 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001504/0.1175, allocations: 0.7227 MB / 0.9729 GB, free: 2.98 MB / 0.9323 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.0001829/0.1177, allocations: 139.1 kB / 0.973 GB, free: 2.832 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003002/0.1207, allocations: 2.477 MB / 0.9755 GB, free: 292 kB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1207, allocations: 4.062 kB / 0.9755 GB, free: 288 kB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002403/0.1231, allocations: 2.011 MB / 0.9774 GB, free: 14.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/0.1238, allocations: 219.1 kB / 0.9776 GB, free: 13.99 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.1274, allocations: 3.267 MB / 0.9808 GB, free: 10.63 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.1278, allocations: 0.5384 MB / 0.9813 GB, free: 10.07 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003544/0.1282, allocations: 261.2 kB / 0.9816 GB, free: 9.809 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1283, allocations: 56.5 kB / 0.9817 GB, free: 9.754 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/0.1283, allocations: 0 / 0.9817 GB, free: 9.754 MB / 0.948 GB Notification: Performance of Templates: time 0.03876/0.167, allocations: 42.83 MB / 1.023 GB, free: 15.17 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.810824010986835]