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.0009129/0.0009129, 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.00098/0.00098, 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.9604/0.9604, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.426/2.426, 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,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.282e-06/1.282e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.414e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.005571/0.005585, allocations: 6.237 MB / 0.8447 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003295/0.00888, allocations: 2.125 MB / 0.8468 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000411/0.009291, allocations: 43.69 kB / 0.8468 GB, free: 5.789 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005732/0.009864, allocations: 262.2 kB / 0.8471 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0008359/0.0107, allocations: 0.6566 MB / 0.8477 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007642/0.01146, allocations: 0.5499 MB / 0.8482 GB, free: 4.32 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001807/0.01327, allocations: 2.738 MB / 0.8509 GB, free: 1.578 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.0145, allocations: 1.495 MB / 0.8524 GB, free: 32 kB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.01587, allocations: 1.575 MB / 0.8539 GB, free: 14.45 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.01741, allocations: 1.368 MB / 0.8552 GB, free: 13.08 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003656/0.01778, allocations: 216 kB / 0.8554 GB, free: 12.87 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005307/0.01831, allocations: 311.7 kB / 0.8557 GB, free: 12.57 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009813/0.01929, allocations: 1.064 MB / 0.8568 GB, free: 11.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008282/0.02012, allocations: 0.7173 MB / 0.8575 GB, free: 10.78 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.02165, allocations: 1.917 MB / 0.8594 GB, free: 8.859 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.02165, allocations: 0 / 0.8594 GB, free: 8.859 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.203e-06/0.02165, allocations: 0 / 0.8594 GB, free: 8.859 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.471e-05/0.0217, allocations: 4 kB / 0.8594 GB, free: 8.855 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002094/0.02379, allocations: 1.79 MB / 0.8611 GB, free: 7.031 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.02382, allocations: 8.625 kB / 0.8611 GB, free: 7.023 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002473/0.02629, allocations: 0.8434 MB / 0.8619 GB, free: 6.18 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009736/0.02727, allocations: 0.8514 MB / 0.8628 GB, free: 5.301 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.02733, allocations: 115.3 kB / 0.8629 GB, free: 5.188 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.02751, allocations: 148.3 kB / 0.863 GB, free: 5.043 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.02923, allocations: 1.485 MB / 0.8645 GB, free: 3.438 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.02926, allocations: 4.125 kB / 0.8645 GB, free: 3.434 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.02938, allocations: 60.36 kB / 0.8645 GB, free: 3.375 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/0.02952, allocations: 182.9 kB / 0.8647 GB, free: 3.195 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009193/0.03044, allocations: 0.603 MB / 0.8653 GB, free: 2.582 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005861/0.0363, allocations: 6.351 MB / 0.8715 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.03683, allocations: 416.8 kB / 0.8719 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.03713, allocations: 267.8 kB / 0.8722 GB, free: 11.33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.055e-05/0.03718, allocations: 12.66 kB / 0.8722 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.03721, allocations: 43.22 kB / 0.8722 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=82): time 1.833e-06/0.03721, allocations: 3.938 kB / 0.8722 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=85): time 0.008219/0.04543, allocations: 4.028 MB / 0.8761 GB, free: 7.219 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.04546, allocations: 64.41 kB / 0.8762 GB, free: 7.141 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.04586, allocations: 0.6167 MB / 0.8768 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.04592, allocations: 37.7 kB / 0.8768 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005538/0.04647, allocations: 0.6763 MB / 0.8775 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.04664, allocations: 321.2 kB / 0.8778 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.04687, allocations: 190.8 kB / 0.878 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.04698, allocations: 402.5 kB / 0.8784 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.04722, allocations: 165.4 kB / 0.8785 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.04755, allocations: 434.5 kB / 0.8789 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/0.04819, allocations: 0.6836 MB / 0.8796 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.04819, allocations: 4 kB / 0.8796 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00214/0.05033, allocations: 1.351 MB / 0.8809 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.05035, allocations: 8 kB / 0.8809 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.05036, allocations: 8 kB / 0.881 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002037/0.0524, allocations: 0.8613 MB / 0.8818 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.05274, allocations: 159.7 kB / 0.8819 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/0.05883, allocations: 5.55 MB / 0.8874 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.05927, allocations: 28 kB / 0.8874 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.05933, allocations: 40 kB / 0.8874 GB, free: 11.15 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (91): * Single equations (assignments): 89 * 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 {(6,12,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004132/0.05974, allocations: 168.4 kB / 0.8876 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.05986, allocations: 91.84 kB / 0.8877 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.06187, allocations: 1.241 MB / 0.8889 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.06188, allocations: 8 kB / 0.8889 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.06188, allocations: 8 kB / 0.8889 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.06189, allocations: 7.984 kB / 0.8889 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.06496, allocations: 2.072 MB / 0.8909 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.06496, allocations: 8 kB / 0.8909 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.06512, allocations: 67.91 kB / 0.891 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002186/0.06731, allocations: 0.8447 MB / 0.8918 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.585e-05/0.06735, allocations: 19.94 kB / 0.8919 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005353/0.07271, allocations: 5.545 MB / 0.8973 GB, free: 0.7812 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.07271, allocations: 7.938 kB / 0.8973 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.07493, allocations: 1.323 MB / 0.8986 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.07518, allocations: 187.3 kB / 0.8987 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.121e-05/0.07526, allocations: 20 kB / 0.8988 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.0755, allocations: 12 kB / 0.8988 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.07563, allocations: 76.45 kB / 0.8989 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.07567, allocations: 20 kB / 0.8989 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002151/0.07588, allocations: 300.5 kB / 0.8992 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.07588, allocations: 0 / 0.8992 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001006/0.07689, allocations: 0.5156 MB / 0.8997 GB, free: 14.28 MB / 0.8698 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 {(6,12,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001446/0.07703, allocations: 100.3 kB / 0.8998 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.07841, allocations: 1.122 MB / 0.9009 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/0.07842, allocations: 8.5 kB / 0.9009 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008666/0.07929, allocations: 0.8089 MB / 0.9016 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000552/0.07984, allocations: 201.9 kB / 0.9018 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.0826, allocations: 2.676 MB / 0.9045 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.08293, allocations: 455.2 kB / 0.9049 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002008/0.08313, allocations: 91.59 kB / 0.905 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005227/0.08365, allocations: 197.2 kB / 0.9052 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of SimCode: time 8.72e-07/0.08365, allocations: 0 / 0.9052 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of Templates: time 0.02598/0.1096, allocations: 26.27 MB / 0.9308 GB, free: 14.45 MB / 0.9011 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.5964284227229655]