Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.0009488/0.0009488, allocations: 80.88 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.0009031/0.0009031, 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.9389/0.9389, allocations: 177.2 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.38/2.38, allocations: 438.8 MB / 0.6826 GB, free: 13.59 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.909e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01054/0.01056, allocations: 13.02 MB / 0.8513 GB, free: 1.109 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004966/0.01552, allocations: 3.976 MB / 0.8552 GB, free: 13.12 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006096/0.01613, allocations: 127.1 kB / 0.8553 GB, free: 13 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008395/0.01697, allocations: 0.5391 MB / 0.8558 GB, free: 12.46 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.01841, allocations: 1.504 MB / 0.8573 GB, free: 10.95 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.0196, allocations: 1.104 MB / 0.8584 GB, free: 9.84 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00354/0.02314, allocations: 5.946 MB / 0.8642 GB, free: 3.879 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002627/0.02576, allocations: 3.409 MB / 0.8675 GB, free: 380 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002824/0.02859, allocations: 3.427 MB / 0.8709 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002806/0.03139, allocations: 2.798 MB / 0.8736 GB, free: 10.13 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0003962/0.03179, allocations: 452 kB / 0.874 GB, free: 9.691 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007957/0.03258, allocations: 0.5934 MB / 0.8746 GB, free: 9.098 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.034, allocations: 2.206 MB / 0.8768 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.03522, allocations: 1.501 MB / 0.8782 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002892/0.03811, allocations: 3.876 MB / 0.882 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.03812, allocations: 4 kB / 0.882 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.683e-06/0.03812, allocations: 0 / 0.882 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.804e-05/0.03815, allocations: 0 / 0.882 GB, free: 1.492 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.003097/0.04124, allocations: 3.602 MB / 0.8855 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.04128, allocations: 8.625 kB / 0.8855 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002513/0.04379, allocations: 1.093 MB / 0.8866 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.04557, allocations: 1.775 MB / 0.8883 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.04569, allocations: 250.3 kB / 0.8886 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003334/0.04602, allocations: 323.9 kB / 0.8889 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/0.0488, allocations: 3.215 MB / 0.892 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.527e-05/0.04886, allocations: 19.83 kB / 0.8921 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/0.04908, allocations: 143.9 kB / 0.8922 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002975/0.04938, allocations: 402.3 kB / 0.8926 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.0509, allocations: 1.193 MB / 0.8937 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009952/0.06085, allocations: 14.28 MB / 0.9077 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/0.06132, allocations: 401.5 kB / 0.9081 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/0.06175, allocations: 399.3 kB / 0.9084 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.256e-05/0.06182, allocations: 21 kB / 0.9085 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.06185, allocations: 43.56 kB / 0.9085 GB, free: 5.422 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 2.665e-06/0.06185, allocations: 0 / 0.9085 GB, free: 5.422 MB / 0.8698 GB Notification: Performance of matching and sorting (n=113): time 0.009576/0.07143, allocations: 5.175 MB / 0.9136 GB, free: 240 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.07146, allocations: 64.34 kB / 0.9136 GB, free: 164 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008254/0.07229, allocations: 1.102 MB / 0.9147 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.496e-05/0.07236, allocations: 41.7 kB / 0.9147 GB, free: 15 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005263/0.07289, allocations: 1.388 MB / 0.9161 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.07311, allocations: 428.3 kB / 0.9165 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/0.07338, allocations: 259.3 kB / 0.9168 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.07344, allocations: 313.1 kB / 0.9171 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.07374, allocations: 230.7 kB / 0.9173 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005115/0.07425, allocations: 0.7327 MB / 0.918 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009243/0.07518, allocations: 1.14 MB / 0.9191 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.07518, allocations: 4 kB / 0.9191 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.003335/0.07852, allocations: 2.142 MB / 0.9212 GB, free: 7.852 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.07854, allocations: 12 kB / 0.9212 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.07855, allocations: 20 kB / 0.9212 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003178/0.08173, allocations: 1.358 MB / 0.9226 GB, free: 6.457 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.0822, allocations: 251.6 kB / 0.9228 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007328/0.08953, allocations: 6.818 MB / 0.9294 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.09002, allocations: 44 kB / 0.9295 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.259e-05/0.09009, allocations: 56 kB / 0.9295 GB, free: 15.01 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (142): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(11,13,93.4%), (6,12,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005703/0.09066, allocations: 220.1 kB / 0.9298 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.09083, allocations: 147.8 kB / 0.9299 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00301/0.09384, allocations: 1.941 MB / 0.9318 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.09384, allocations: 12 kB / 0.9318 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.09385, allocations: 12 kB / 0.9318 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.09386, allocations: 11.91 kB / 0.9318 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004952/0.09881, allocations: 3.294 MB / 0.935 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.09882, allocations: 7.938 kB / 0.9351 GB, free: 9.238 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.09908, allocations: 111.8 kB / 0.9352 GB, free: 9.129 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003078/0.1022, allocations: 1.326 MB / 0.9365 GB, free: 7.793 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/0.1022, allocations: 24 kB / 0.9365 GB, free: 7.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007529/0.1097, allocations: 6.834 MB / 0.9431 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1098, allocations: 7.938 kB / 0.9432 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/0.1127, allocations: 1.992 MB / 0.9451 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.1131, allocations: 286.7 kB / 0.9454 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.1132, allocations: 23.94 kB / 0.9454 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.1135, allocations: 24 kB / 0.9454 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.1137, allocations: 108.7 kB / 0.9455 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.1138, allocations: 24 kB / 0.9455 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003592/0.1141, allocations: 0.535 MB / 0.9461 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1141, allocations: 0 / 0.9461 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001426/0.1156, allocations: 0.8008 MB / 0.9469 GB, free: 12.77 MB / 0.9167 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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(6,6,100.0%), (6,12,100.0%), (11,13,90.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001684/0.1157, allocations: 112.2 kB / 0.947 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002376/0.1181, allocations: 1.909 MB / 0.9488 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.291e-05/0.1181, allocations: 21.81 kB / 0.9488 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001983/0.1201, allocations: 1.438 MB / 0.9502 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.1211, allocations: 485.2 kB / 0.9507 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005236/0.1264, allocations: 5.357 MB / 0.9559 GB, free: 3.281 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000924/0.1273, allocations: 0.8955 MB / 0.9568 GB, free: 2.359 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003671/0.1277, allocations: 173.7 kB / 0.957 GB, free: 2.184 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005304/0.1282, allocations: 387.1 kB / 0.9574 GB, free: 1.801 MB / 0.9167 GB Notification: Performance of SimCode: time 7.71e-07/0.1282, allocations: 0 / 0.9574 GB, free: 1.801 MB / 0.9167 GB Notification: Performance of Templates: time 0.04545/0.1736, allocations: 41.51 MB / 0.9979 GB, free: 8.793 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.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.688950588926673]