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.0009992/0.0009992, allocations: 80.94 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.0009547/0.0009547, allocations: 173 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.9946/0.9946, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.477/2.477, allocations: 438.8 MB / 0.6826 GB, free: 13.54 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.572e-06/1.572e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.46e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008372/0.008396, allocations: 6.584 MB / 0.8451 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003157/0.01155, allocations: 2.265 MB / 0.8473 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.01181, allocations: 43.69 kB / 0.8473 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004902/0.0123, allocations: 266.1 kB / 0.8476 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000699/0.013, allocations: 0.6954 MB / 0.8483 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.01365, allocations: 0.6746 MB / 0.8489 GB, free: 3.531 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00182/0.01547, allocations: 3.011 MB / 0.8519 GB, free: 0.5117 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.01661, allocations: 1.535 MB / 0.8534 GB, free: 14.93 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.01778, allocations: 1.727 MB / 0.855 GB, free: 13.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.01902, allocations: 1.563 MB / 0.8566 GB, free: 11.63 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.01922, allocations: 240 kB / 0.8568 GB, free: 11.39 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.01957, allocations: 339.7 kB / 0.8571 GB, free: 11.06 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006394/0.02021, allocations: 1.161 MB / 0.8583 GB, free: 9.898 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006263/0.02084, allocations: 0.7875 MB / 0.859 GB, free: 9.109 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.02244, allocations: 2.135 MB / 0.8611 GB, free: 6.969 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.02244, allocations: 0 / 0.8611 GB, free: 6.969 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.194e-06/0.02245, allocations: 0 / 0.8611 GB, free: 6.969 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.02247, allocations: 4 kB / 0.8611 GB, free: 6.965 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.001863/0.02433, allocations: 1.977 MB / 0.863 GB, free: 4.953 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.02436, allocations: 12.56 kB / 0.8631 GB, free: 4.941 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004145/0.0285, allocations: 1.195 MB / 0.8642 GB, free: 3.746 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.0296, allocations: 0.9416 MB / 0.8651 GB, free: 2.773 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.564e-05/0.02966, allocations: 111.4 kB / 0.8652 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.02988, allocations: 148.3 kB / 0.8654 GB, free: 2.52 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.03168, allocations: 1.619 MB / 0.867 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.03171, allocations: 4.188 kB / 0.867 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.03185, allocations: 68.33 kB / 0.867 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001638/0.03201, allocations: 211 kB / 0.8672 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.03309, allocations: 0.6824 MB / 0.8679 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006166/0.03926, allocations: 6.541 MB / 0.8743 GB, free: 9.098 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/0.03997, allocations: 0.5619 MB / 0.8748 GB, free: 8.531 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004606/0.04043, allocations: 346.4 kB / 0.8752 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-05/0.0405, allocations: 28.92 kB / 0.8752 GB, free: 8.156 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.04053, allocations: 47.56 kB / 0.8752 GB, free: 8.102 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=104): time 2.455e-06/0.04053, allocations: 0 / 0.8752 GB, free: 8.102 MB / 0.8386 GB Notification: Performance of matching and sorting (n=107): time 0.01616/0.05669, allocations: 7.098 MB / 0.8822 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.05672, allocations: 64.41 kB / 0.8822 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/0.05724, allocations: 0.7413 MB / 0.883 GB, free: 168 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/0.0573, allocations: 41.7 kB / 0.883 GB, free: 120 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.05759, allocations: 0.7046 MB / 0.8837 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.05782, allocations: 392.5 kB / 0.8841 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.05811, allocations: 226.7 kB / 0.8843 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.0582, allocations: 361.8 kB / 0.8846 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.05853, allocations: 213.4 kB / 0.8848 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.05898, allocations: 493.1 kB / 0.8853 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008463/0.05982, allocations: 0.8116 MB / 0.8861 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.05983, allocations: 4 kB / 0.8861 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.0039/0.06373, allocations: 2.122 MB / 0.8882 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.06375, allocations: 8 kB / 0.8882 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.06376, allocations: 12 kB / 0.8882 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004012/0.06777, allocations: 1.594 MB / 0.8897 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.06818, allocations: 175.7 kB / 0.8899 GB, free: 8.742 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008897/0.07708, allocations: 7.312 MB / 0.8971 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.07759, allocations: 32 kB / 0.8971 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/0.07767, allocations: 40 kB / 0.8971 GB, free: 1.16 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.00035/0.07802, allocations: 180.4 kB / 0.8973 GB, free: 0.9727 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.07817, allocations: 103.9 kB / 0.8974 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003754/0.08193, allocations: 2.053 MB / 0.8994 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.08193, allocations: 12 kB / 0.8994 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.08194, allocations: 16 kB / 0.8994 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.08195, allocations: 7.922 kB / 0.8994 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004999/0.08695, allocations: 3.132 MB / 0.9025 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.08695, allocations: 4 kB / 0.9025 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.08714, allocations: 79.83 kB / 0.9026 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003874/0.09101, allocations: 1.587 MB / 0.9041 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.09107, allocations: 20 kB / 0.9041 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008766/0.09984, allocations: 7.304 MB / 0.9113 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.09984, allocations: 8 kB / 0.9113 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/0.1037, allocations: 2.076 MB / 0.9133 GB, free: 228 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.104, allocations: 235.2 kB / 0.9135 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.1041, allocations: 20 kB / 0.9136 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.1044, allocations: 23.98 kB / 0.9136 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.1046, allocations: 100.7 kB / 0.9137 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.1047, allocations: 16 kB / 0.9137 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000271/0.105, allocations: 360.8 kB / 0.914 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.105, allocations: 0 / 0.914 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001272/0.1062, allocations: 0.6719 MB / 0.9147 GB, free: 14.8 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.0001621/0.1064, allocations: 116.2 kB / 0.9148 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.1083, allocations: 1.429 MB / 0.9162 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/0.1083, allocations: 12.5 kB / 0.9162 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.1096, allocations: 1.069 MB / 0.9172 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.1102, allocations: 206.7 kB / 0.9174 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.1135, allocations: 3.099 MB / 0.9205 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.1139, allocations: 0.5175 MB / 0.921 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002274/0.1141, allocations: 100.9 kB / 0.9211 GB, free: 8.098 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.1144, allocations: 201.2 kB / 0.9213 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of SimCode: time 8.72e-07/0.1144, allocations: 0 / 0.9213 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of Templates: time 0.03465/0.1491, allocations: 37.79 MB / 0.9582 GB, free: 2.352 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 -s gbode -gbm=radauIIA3 -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.768091566860676]