Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009877/0.0009877, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009719/0.0009719, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9971/0.9971, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.888/1.888, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.115e-05, allocations: 3.078 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0167/0.01672, allocations: 6.586 MB / 0.7665 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.007312/0.02403, allocations: 2.258 MB / 0.7687 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005414/0.02457, allocations: 47.62 kB / 0.7688 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003854/0.02842, allocations: 262.2 kB / 0.769 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.02964, allocations: 0.7062 MB / 0.7697 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00426/0.0339, allocations: 0.675 MB / 0.7704 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0041/0.038, allocations: 3 MB / 0.7733 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.03986, allocations: 1.544 MB / 0.7748 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002173/0.04204, allocations: 1.723 MB / 0.7765 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.04412, allocations: 1.564 MB / 0.778 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003616/0.04448, allocations: 236 kB / 0.7782 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007527/0.04524, allocations: 335.7 kB / 0.7786 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.04632, allocations: 1.158 MB / 0.7797 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.04754, allocations: 0.7919 MB / 0.7805 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.04998, allocations: 2.136 MB / 0.7825 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.04998, allocations: 0 / 0.7825 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.302e-06/0.04999, allocations: 0 / 0.7825 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.784e-05/0.05003, allocations: 4 kB / 0.7826 GB, free: 15.5 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002188/0.05222, allocations: 1.979 MB / 0.7845 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.05225, allocations: 8.031 kB / 0.7845 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004199/0.05645, allocations: 1.2 MB / 0.7857 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.05792, allocations: 0.941 MB / 0.7866 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/0.05799, allocations: 120.4 kB / 0.7867 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/0.0582, allocations: 144.3 kB / 0.7868 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.06019, allocations: 1.612 MB / 0.7884 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.06022, allocations: 13.73 kB / 0.7884 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.06036, allocations: 68.28 kB / 0.7885 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/0.06053, allocations: 211.1 kB / 0.7887 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.06173, allocations: 0.689 MB / 0.7894 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00737/0.0691, allocations: 6.54 MB / 0.7957 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007131/0.06981, allocations: 0.5573 MB / 0.7963 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004631/0.07027, allocations: 354.2 kB / 0.7966 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.918e-05/0.07034, allocations: 20.94 kB / 0.7966 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.07037, allocations: 43.56 kB / 0.7967 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 4.319e-06/0.07038, allocations: 0.625 kB / 0.7967 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of matching and sorting (n=107): time 0.01721/0.08758, allocations: 7.086 MB / 0.8036 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.08762, allocations: 68.39 kB / 0.8037 GB, free: 9.59 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006555/0.08828, allocations: 0.7375 MB / 0.8044 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-05/0.08836, allocations: 49.7 kB / 0.8044 GB, free: 8.781 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.08866, allocations: 0.6967 MB / 0.8051 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.08892, allocations: 392.5 kB / 0.8055 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/0.08922, allocations: 226.7 kB / 0.8057 GB, free: 7.461 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.08932, allocations: 361.8 kB / 0.8061 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.08965, allocations: 213.4 kB / 0.8063 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.09009, allocations: 0.4894 MB / 0.8067 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008493/0.09094, allocations: 0.8038 MB / 0.8075 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.09094, allocations: 7.938 kB / 0.8075 GB, free: 5.344 MB / 0.7605 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004079/0.09502, allocations: 2.126 MB / 0.8096 GB, free: 3.199 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.09505, allocations: 10.34 kB / 0.8096 GB, free: 3.191 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.09506, allocations: 12 kB / 0.8096 GB, free: 3.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00424/0.0993, allocations: 1.6 MB / 0.8112 GB, free: 1.574 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/0.09983, allocations: 179.7 kB / 0.8114 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009562/0.1094, allocations: 7.312 MB / 0.8185 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007416/0.1101, allocations: 36 kB / 0.8185 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.62e-05/0.1102, allocations: 39.98 kB / 0.8186 GB, free: 9.82 MB / 0.7761 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.0004701/0.1107, allocations: 176.4 kB / 0.8187 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.1108, allocations: 107.9 kB / 0.8188 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.1146, allocations: 2.049 MB / 0.8208 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.1146, allocations: 12 kB / 0.8209 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/0.1147, allocations: 16 kB / 0.8209 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1147, allocations: 11.97 kB / 0.8209 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005687/0.1204, allocations: 3.132 MB / 0.8239 GB, free: 4.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.1204, allocations: 4 kB / 0.824 GB, free: 4.215 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.1206, allocations: 67.91 kB / 0.824 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004087/0.1246, allocations: 1.581 MB / 0.8256 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.809e-05/0.1247, allocations: 20 kB / 0.8256 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009404/0.1341, allocations: 7.315 MB / 0.8327 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1341, allocations: 7.938 kB / 0.8327 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003904/0.138, allocations: 2.068 MB / 0.8347 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/0.1385, allocations: 239.1 kB / 0.835 GB, free: 8.664 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.1386, allocations: 20 kB / 0.835 GB, free: 8.645 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.1389, allocations: 23.94 kB / 0.835 GB, free: 8.621 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003312/0.1393, allocations: 104.6 kB / 0.8351 GB, free: 8.516 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/0.1393, allocations: 20 kB / 0.8351 GB, free: 8.496 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003181/0.1396, allocations: 364.8 kB / 0.8355 GB, free: 8.125 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1396, allocations: 0 / 0.8355 GB, free: 8.125 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001438/0.1411, allocations: 0.668 MB / 0.8361 GB, free: 7.457 MB / 0.7917 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.0001912/0.1413, allocations: 108.3 kB / 0.8362 GB, free: 7.34 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00231/0.1436, allocations: 1.441 MB / 0.8376 GB, free: 5.875 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-05/0.1436, allocations: 20.56 kB / 0.8377 GB, free: 5.855 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.145, allocations: 1.053 MB / 0.8387 GB, free: 4.773 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/0.1456, allocations: 211.2 kB / 0.8389 GB, free: 4.574 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.1493, allocations: 3.103 MB / 0.8419 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.1498, allocations: 0.5099 MB / 0.8424 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002925/0.1501, allocations: 96.84 kB / 0.8425 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.1504, allocations: 201.3 kB / 0.8427 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of SimCode: time 2.114e-06/0.1504, allocations: 0 / 0.8427 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of Templates: time 0.04055/0.1909, allocations: 37.79 MB / 0.8796 GB, free: 11.02 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.43436598777771]