Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001927/0.001927, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.002285/0.002285, allocations: 159 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.441/1.441, allocations: 177.2 MB / 203.4 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 178] 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.906/2.906, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 67.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7614/0.7635, allocations: 181.8 MB / 1.187 GB, free: 16.13 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007376/0.7709, allocations: 6.494 MB / 1.193 GB, free: 11.99 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004511/0.7754, allocations: 3.031 MB / 1.196 GB, free: 10.04 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.7757, allocations: 35.28 kB / 1.196 GB, free: 10.02 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.778, allocations: 0.9527 MB / 1.197 GB, free: 9.48 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000923/0.7789, allocations: 0.5186 MB / 1.197 GB, free: 9.168 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008798/0.7798, allocations: 427.3 kB / 1.198 GB, free: 8.961 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001042/0.7808, allocations: 1.224 MB / 1.199 GB, free: 8.398 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006687/0.7815, allocations: 0.5276 MB / 1.199 GB, free: 8.152 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005543/0.782, allocations: 499.5 kB / 1.2 GB, free: 7.945 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000664/0.7827, allocations: 0.5151 MB / 1.2 GB, free: 7.754 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.7828, allocations: 66.81 kB / 1.201 GB, free: 7.754 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005733/0.7834, allocations: 339.5 kB / 1.201 GB, free: 7.66 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.7837, allocations: 318.2 kB / 1.201 GB, free: 7.523 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003776/0.784, allocations: 375.3 kB / 1.202 GB, free: 7.336 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.7853, allocations: 1.23 MB / 1.203 GB, free: 6.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7853, allocations: 0.7969 kB / 1.203 GB, free: 6.91 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7853, allocations: 0 / 1.203 GB, free: 6.91 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.7853, allocations: 0 / 1.203 GB, free: 6.91 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001679/0.787, allocations: 1.111 MB / 1.204 GB, free: 6.184 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.787, allocations: 10.66 kB / 1.204 GB, free: 6.184 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.7886, allocations: 245.7 kB / 1.204 GB, free: 6.125 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008272/0.7894, allocations: 0.5184 MB / 1.205 GB, free: 5.805 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.7894, allocations: 47.7 kB / 1.205 GB, free: 5.785 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.659e-05/0.7895, allocations: 73.97 kB / 1.205 GB, free: 5.754 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.7909, allocations: 1.337 MB / 1.206 GB, free: 4.828 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.7909, allocations: 7.984 kB / 1.206 GB, free: 4.824 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.26e-05/0.791, allocations: 34.36 kB / 1.206 GB, free: 4.801 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/0.7912, allocations: 83.62 kB / 1.206 GB, free: 4.789 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.7922, allocations: 0.7473 MB / 1.207 GB, free: 4.523 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.7959, allocations: 4.524 MB / 1.211 GB, free: 0.9414 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008999/0.7968, allocations: 0.5148 MB / 1.212 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/0.7972, allocations: 286.9 kB / 1.212 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.7972, allocations: 5.562 kB / 1.212 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.7973, allocations: 38.47 kB / 1.212 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 1.833e-06/0.7973, allocations: 1.438 kB / 1.212 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.003511/0.8008, allocations: 1.685 MB / 1.214 GB, free: 15.91 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.8008, allocations: 61.09 kB / 1.214 GB, free: 15.84 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006071/0.8014, allocations: 0.5063 MB / 1.214 GB, free: 15.59 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.8015, allocations: 36.45 kB / 1.214 GB, free: 15.55 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/0.8018, allocations: 424.8 kB / 1.215 GB, free: 15.22 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.802, allocations: 179.8 kB / 1.215 GB, free: 15.08 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.8022, allocations: 129.8 kB / 1.215 GB, free: 15 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.8024, allocations: 379.6 kB / 1.215 GB, free: 14.66 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/0.8028, allocations: 274.3 kB / 1.216 GB, free: 14.56 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.8034, allocations: 492.3 kB / 1.216 GB, free: 14.2 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.8045, allocations: 0.8039 MB / 1.217 GB, free: 13.67 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.8045, allocations: 2.281 kB / 1.217 GB, free: 13.67 MB / 1.092 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001908/0.8064, allocations: 1.067 MB / 1.218 GB, free: 13.22 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.8065, allocations: 12.2 kB / 1.218 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.8065, allocations: 7.438 kB / 1.218 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008708/0.8073, allocations: 289.5 kB / 1.218 GB, free: 13.12 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.8078, allocations: 125.1 kB / 1.218 GB, free: 13.11 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007188/0.815, allocations: 6.599 MB / 1.225 GB, free: 7.523 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.8156, allocations: 36.92 kB / 1.225 GB, free: 7.516 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.8156, allocations: 34.81 kB / 1.225 GB, free: 7.504 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003524/0.816, allocations: 258.8 kB / 1.225 GB, free: 7.316 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.8161, allocations: 69.2 kB / 1.225 GB, free: 7.281 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.8178, allocations: 0.8749 MB / 1.226 GB, free: 6.895 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.8178, allocations: 8.812 kB / 1.226 GB, free: 6.891 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8178, allocations: 3 kB / 1.226 GB, free: 6.891 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.8178, allocations: 2.531 kB / 1.226 GB, free: 6.891 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.8205, allocations: 1.524 MB / 1.228 GB, free: 6.129 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.8205, allocations: 1.859 kB / 1.228 GB, free: 6.129 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.8207, allocations: 60.16 kB / 1.228 GB, free: 6.125 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000778/0.8215, allocations: 278.1 kB / 1.228 GB, free: 6.027 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.8215, allocations: 7.406 kB / 1.228 GB, free: 6.023 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007037/0.8286, allocations: 6.592 MB / 1.234 GB, free: 468 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8286, allocations: 1.438 kB / 1.234 GB, free: 468 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.8302, allocations: 0.9651 MB / 1.235 GB, free: 15.95 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.8305, allocations: 114.6 kB / 1.235 GB, free: 15.89 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.8306, allocations: 13.05 kB / 1.235 GB, free: 15.88 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.831, allocations: 34.69 kB / 1.235 GB, free: 15.87 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.8311, allocations: 48.23 kB / 1.235 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.8311, allocations: 11.19 kB / 1.235 GB, free: 15.86 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004067/0.8315, allocations: 339.6 kB / 1.236 GB, free: 15.7 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/0.8315, allocations: 0 / 1.236 GB, free: 15.7 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008047/0.8323, allocations: 223.2 kB / 1.236 GB, free: 15.68 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001399/0.8325, allocations: 115.5 kB / 1.236 GB, free: 15.58 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002054/0.8345, allocations: 1.233 MB / 1.237 GB, free: 14.85 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.8345, allocations: 0.9375 kB / 1.237 GB, free: 14.85 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.8359, allocations: 0.8643 MB / 1.238 GB, free: 14.25 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009816/0.8368, allocations: 205.9 kB / 1.238 GB, free: 14.17 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.8391, allocations: 1.362 MB / 1.24 GB, free: 13.43 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.8395, allocations: 418.1 kB / 1.24 GB, free: 13.3 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003352/0.8399, allocations: 115.6 kB / 1.24 GB, free: 13.27 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.84, allocations: 40.19 kB / 1.24 GB, free: 13.27 MB / 1.107 GB Notification: Performance of SimCode: time 4.61e-07/0.84, allocations: 0 / 1.24 GB, free: 13.27 MB / 1.107 GB Notification: Performance of Templates: time 0.01965/0.8596, allocations: 11.34 MB / 1.251 GB, free: 9.215 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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: 8.946171072078869]