Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 192.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.747/2.747, allocations: 476.7 MB / 0.7646 GB, free: 9.906 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.89 kB / 1.11 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7914/0.7933, allocations: 168.8 MB / 1.274 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.031/0.8243, allocations: 24.46 MB / 1.298 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.8366, allocations: 6.644 MB / 1.305 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.8386, allocations: 131.1 kB / 1.305 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004384/0.843, allocations: 1.577 MB / 1.306 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.8477, allocations: 1.922 MB / 1.308 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003999/0.8517, allocations: 1.515 MB / 1.31 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009296/0.861, allocations: 6.909 MB / 1.316 GB, free: 8.859 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006277/0.8673, allocations: 3.482 MB / 1.32 GB, free: 5.289 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004934/0.8722, allocations: 2.913 MB / 1.323 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00622/0.8785, allocations: 3.739 MB / 1.326 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.8798, allocations: 0.5273 MB / 1.327 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.8828, allocations: 1.19 MB / 1.328 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003381/0.8862, allocations: 2.533 MB / 1.331 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003983/0.8902, allocations: 2.54 MB / 1.333 GB, free: 7.809 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.9012, allocations: 8.541 MB / 1.341 GB, free: 15.25 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.9012, allocations: 0 / 1.341 GB, free: 15.25 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9012, allocations: 4 kB / 1.341 GB, free: 15.24 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002014/0.9014, allocations: 0 / 1.341 GB, free: 15.24 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.009187/0.9106, allocations: 4.468 MB / 1.346 GB, free: 10.72 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.9106, allocations: 8.031 kB / 1.346 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00834/0.9189, allocations: 1.703 MB / 1.347 GB, free: 9.004 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00648/0.9254, allocations: 2.668 MB / 1.35 GB, free: 6.289 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002645/0.9257, allocations: 275.7 kB / 1.35 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/0.9269, allocations: 364.2 kB / 1.351 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/0.9412, allocations: 7.487 MB / 1.358 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-05/0.9413, allocations: 11.88 kB / 1.358 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004747/0.9418, allocations: 163.9 kB / 1.358 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006672/0.9425, allocations: 487.3 kB / 1.359 GB, free: 13.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.9539, allocations: 5.701 MB / 1.364 GB, free: 7.555 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04443/0.9983, allocations: 31.28 MB / 1.395 GB, free: 5.492 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003352/1.002, allocations: 2.012 MB / 1.397 GB, free: 3.469 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003424/1.005, allocations: 2.108 MB / 1.399 GB, free: 1.355 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/1.005, allocations: 13.31 kB / 1.399 GB, free: 1.344 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.77e-05/1.005, allocations: 59.8 kB / 1.399 GB, free: 1.273 MB / 1.092 GB Notification: Performance of pre-optimization done (n=146): time 3.757e-06/1.005, allocations: 0 / 1.399 GB, free: 1.273 MB / 1.092 GB Notification: Performance of matching and sorting (n=251): time 0.2859/1.291, allocations: 76.72 MB / 1.474 GB, free: 4.426 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/1.291, allocations: 85.34 kB / 1.474 GB, free: 4.328 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/1.294, allocations: 1.674 MB / 1.475 GB, free: 2.609 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004442/1.295, allocations: 65.7 kB / 1.475 GB, free: 2.539 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001406/1.296, allocations: 1.792 MB / 1.477 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001144/1.297, allocations: 0.8947 MB / 1.478 GB, free: 15.83 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/1.298, allocations: 485.3 kB / 1.479 GB, free: 15.35 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.298, allocations: 305.1 kB / 1.479 GB, free: 15.05 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004359/1.303, allocations: 2.73 MB / 1.482 GB, free: 12.31 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004872/1.308, allocations: 3.336 MB / 1.485 GB, free: 8.73 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009738/1.317, allocations: 6.389 MB / 1.491 GB, free: 2.102 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/1.317, allocations: 7.938 kB / 1.491 GB, free: 2.094 MB / 1.186 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03414/1.352, allocations: 14.4 MB / 1.505 GB, free: 3.641 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/1.352, allocations: 12 kB / 1.505 GB, free: 3.629 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.15e-05/1.352, allocations: 16.91 kB / 1.505 GB, free: 3.613 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03022/1.382, allocations: 9.243 MB / 1.514 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/1.383, allocations: 299.4 kB / 1.514 GB, free: 10.05 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09073/1.474, allocations: 51.78 MB / 1.565 GB, free: 5.543 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/1.477, allocations: 223.7 kB / 1.565 GB, free: 5.324 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00049/1.477, allocations: 100 kB / 1.565 GB, free: 5.227 MB / 1.264 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003369/1.48, allocations: 1.593 MB / 1.567 GB, free: 3.625 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007374/1.481, allocations: 258.5 kB / 1.567 GB, free: 3.371 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03538/1.517, allocations: 14.47 MB / 1.581 GB, free: 4.844 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/1.517, allocations: 24 kB / 1.581 GB, free: 4.82 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001544/1.517, allocations: 44 kB / 1.581 GB, free: 4.777 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-05/1.517, allocations: 11.95 kB / 1.581 GB, free: 4.766 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04793/1.565, allocations: 20.21 MB / 1.601 GB, free: 372 kB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-05/1.565, allocations: 8.844 kB / 1.601 GB, free: 364 kB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007653/1.566, allocations: 163.7 kB / 1.601 GB, free: 200 kB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6393/2.205, allocations: 9.012 MB / 1.61 GB, free: 300.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004534/2.205, allocations: 45.06 kB / 1.61 GB, free: 300.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06487/2.27, allocations: 51.35 MB / 1.66 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/2.27, allocations: 7.938 kB / 1.66 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0256/2.296, allocations: 14.1 MB / 1.674 GB, free: 260.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/2.298, allocations: 0.7839 MB / 1.675 GB, free: 260.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005582/2.298, allocations: 51.38 kB / 1.675 GB, free: 260 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/2.3, allocations: 203.7 kB / 1.675 GB, free: 259.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001236/2.301, allocations: 257.4 kB / 1.675 GB, free: 259.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002047/2.302, allocations: 67.94 kB / 1.675 GB, free: 259.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001194/2.303, allocations: 1.125 MB / 1.676 GB, free: 258.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/2.303, allocations: 0 / 1.676 GB, free: 258.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003734/2.307, allocations: 1.613 MB / 1.678 GB, free: 256.7 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003539/2.307, allocations: 162.9 kB / 1.678 GB, free: 256.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01755/2.325, allocations: 10.2 MB / 1.688 GB, free: 246.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/2.325, allocations: 0 / 1.688 GB, free: 246.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01392/2.338, allocations: 7.021 MB / 1.695 GB, free: 239.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/2.341, allocations: 0.5634 MB / 1.695 GB, free: 238.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/2.353, allocations: 8.911 MB / 1.704 GB, free: 229.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003225/2.357, allocations: 3.224 MB / 1.707 GB, free: 226.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001034/2.358, allocations: 395.3 kB / 1.708 GB, free: 226.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/2.358, allocations: 103.4 kB / 1.708 GB, free: 226 MB / 1.295 GB Notification: Performance of SimCode: time 7.72e-07/2.358, allocations: 3.938 kB / 1.708 GB, free: 226 MB / 1.295 GB Notification: Performance of Templates: time 0.1089/2.467, allocations: 96.07 MB / 1.802 GB, free: 130.2 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.90471145696938]