Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.0008678/0.0008678, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001429/0.001429, allocations: 181 kB / 23.36 MB, free: 1.133 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.9118/0.9118, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.353/2.353, allocations: 438.8 MB / 0.6826 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.46e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0132/0.01322, allocations: 6.542 MB / 0.845 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.02352, allocations: 2.254 MB / 0.8472 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000627/0.02414, allocations: 47.69 kB / 0.8472 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007944/0.02494, allocations: 266.1 kB / 0.8475 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.02624, allocations: 0.711 MB / 0.8482 GB, free: 4.367 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.02747, allocations: 0.6668 MB / 0.8488 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002962/0.03043, allocations: 3.015 MB / 0.8518 GB, free: 0.6758 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.03261, allocations: 1.527 MB / 0.8533 GB, free: 15.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.03509, allocations: 1.731 MB / 0.855 GB, free: 13.36 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.0375, allocations: 1.567 MB / 0.8565 GB, free: 11.79 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004429/0.03795, allocations: 236 kB / 0.8567 GB, free: 11.56 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000647/0.03859, allocations: 331.7 kB / 0.857 GB, free: 11.24 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.03968, allocations: 1.165 MB / 0.8582 GB, free: 10.07 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.04069, allocations: 0.7836 MB / 0.8589 GB, free: 9.285 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002652/0.04334, allocations: 2.139 MB / 0.861 GB, free: 7.141 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.04334, allocations: 4 kB / 0.861 GB, free: 7.137 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.553e-06/0.04335, allocations: 0 / 0.861 GB, free: 7.137 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.181e-05/0.04339, allocations: 0 / 0.861 GB, free: 7.137 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003227/0.04661, allocations: 1.973 MB / 0.8629 GB, free: 5.129 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.04666, allocations: 12.62 kB / 0.863 GB, free: 5.117 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006227/0.05288, allocations: 1.198 MB / 0.8641 GB, free: 3.918 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.05463, allocations: 0.9377 MB / 0.865 GB, free: 2.949 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.071e-05/0.05472, allocations: 111.4 kB / 0.8651 GB, free: 2.84 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/0.05505, allocations: 160.3 kB / 0.8653 GB, free: 2.684 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/0.05802, allocations: 1.616 MB / 0.8669 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.05806, allocations: 4.125 kB / 0.8669 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.05829, allocations: 64.34 kB / 0.8669 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002716/0.05856, allocations: 211 kB / 0.8671 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.06033, allocations: 0.6825 MB / 0.8678 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009981/0.07031, allocations: 6.545 MB / 0.8742 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.07138, allocations: 0.5617 MB / 0.8748 GB, free: 8.699 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007212/0.0721, allocations: 350.5 kB / 0.8751 GB, free: 8.352 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.256e-05/0.07219, allocations: 20.94 kB / 0.8751 GB, free: 8.328 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.07223, allocations: 43.56 kB / 0.8751 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=104): time 3.887e-06/0.07223, allocations: 0 / 0.8751 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of matching and sorting (n=107): time 0.02142/0.09366, allocations: 7.11 MB / 0.8821 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.09369, allocations: 64.41 kB / 0.8822 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/0.09423, allocations: 0.7452 MB / 0.8829 GB, free: 332 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.0943, allocations: 41.7 kB / 0.8829 GB, free: 284 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.09459, allocations: 0.7006 MB / 0.8836 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.0948, allocations: 388.5 kB / 0.884 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.09509, allocations: 218.7 kB / 0.8842 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.09517, allocations: 357.8 kB / 0.8845 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.09549, allocations: 225.2 kB / 0.8847 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.09591, allocations: 497.2 kB / 0.8852 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007926/0.0967, allocations: 0.8155 MB / 0.886 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.09671, allocations: 4 kB / 0.886 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003717/0.1004, allocations: 2.111 MB / 0.8881 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1004, allocations: 11.98 kB / 0.8881 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.1005, allocations: 8.469 kB / 0.8881 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004225/0.1047, allocations: 1.604 MB / 0.8897 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004639/0.1051, allocations: 163.7 kB / 0.8898 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009758/0.1149, allocations: 7.295 MB / 0.8969 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006463/0.1155, allocations: 32 kB / 0.897 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-05/0.1156, allocations: 40 kB / 0.897 GB, free: 1.352 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,16,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003848/0.116, allocations: 188.4 kB / 0.8972 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.1162, allocations: 107.9 kB / 0.8973 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/0.1197, allocations: 2.041 MB / 0.8993 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.1197, allocations: 12 kB / 0.8993 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-05/0.1198, allocations: 16 kB / 0.8993 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1198, allocations: 7.969 kB / 0.8993 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005095/0.1249, allocations: 3.124 MB / 0.9024 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1249, allocations: 4 kB / 0.9024 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.125, allocations: 67.91 kB / 0.9024 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00389/0.1289, allocations: 1.601 MB / 0.904 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/0.129, allocations: 16 kB / 0.904 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009132/0.1381, allocations: 7.284 MB / 0.9111 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.1381, allocations: 7.938 kB / 0.9111 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003812/0.1419, allocations: 2.084 MB / 0.9132 GB, free: 440 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.1423, allocations: 235.1 kB / 0.9134 GB, free: 204 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.1424, allocations: 23.98 kB / 0.9134 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.1428, allocations: 24 kB / 0.9134 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.1431, allocations: 100.7 kB / 0.9135 GB, free: 56 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/0.1431, allocations: 16 kB / 0.9136 GB, free: 40 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003111/0.1434, allocations: 360.9 kB / 0.9139 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.1434, allocations: 0 / 0.9139 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001344/0.1448, allocations: 0.6718 MB / 0.9146 GB, free: 15 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,16,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001851/0.1449, allocations: 108.3 kB / 0.9147 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002014/0.147, allocations: 1.436 MB / 0.9161 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.912e-05/0.147, allocations: 12.5 kB / 0.9161 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.1485, allocations: 1.066 MB / 0.9171 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006152/0.1491, allocations: 207.2 kB / 0.9173 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.1528, allocations: 3.107 MB / 0.9203 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.1532, allocations: 0.5097 MB / 0.9208 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002564/0.1535, allocations: 100.9 kB / 0.9209 GB, free: 8.305 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.1538, allocations: 201.2 kB / 0.9211 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of SimCode: time 1.353e-06/0.1538, allocations: 0 / 0.9211 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of Templates: time 0.0401/0.1939, allocations: 37.79 MB / 0.958 GB, free: 2.562 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.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.696236633695662]