Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001669/0.001669, allocations: 78.88 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.002058/0.002058, allocations: 160.4 kB / 23.01 MB, free: 4.594 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.428/1.428, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.714/2.714, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002087/0.002087, allocations: 59.91 kB / 0.9819 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8939/0.896, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006326/0.9023, allocations: 6.477 MB / 1.16 GB, free: 29.2 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003842/0.9061, allocations: 3.047 MB / 1.163 GB, free: 27.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.9064, allocations: 41.22 kB / 1.163 GB, free: 27.21 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.9084, allocations: 0.9448 MB / 1.164 GB, free: 26.68 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0008518/0.9093, allocations: 0.5229 MB / 1.165 GB, free: 26.36 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007604/0.91, allocations: 436.5 kB / 1.165 GB, free: 26.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008416/0.9109, allocations: 1.219 MB / 1.166 GB, free: 25.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005817/0.9115, allocations: 0.5251 MB / 1.167 GB, free: 25.34 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004584/0.9119, allocations: 498.9 kB / 1.167 GB, free: 25.14 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005264/0.9125, allocations: 0.5113 MB / 1.168 GB, free: 24.95 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.835e-05/0.9126, allocations: 68.5 kB / 1.168 GB, free: 24.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004704/0.913, allocations: 347 kB / 1.168 GB, free: 24.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.9132, allocations: 312.7 kB / 1.168 GB, free: 24.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002934/0.9135, allocations: 375.3 kB / 1.169 GB, free: 24.53 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008808/0.9144, allocations: 1.238 MB / 1.17 GB, free: 24.09 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9144, allocations: 0 / 1.17 GB, free: 24.09 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9144, allocations: 0 / 1.17 GB, free: 24.09 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.9144, allocations: 0 / 1.17 GB, free: 24.09 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.001484/0.9159, allocations: 1.108 MB / 1.171 GB, free: 23.37 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.9159, allocations: 10 kB / 1.171 GB, free: 23.37 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.9174, allocations: 244.2 kB / 1.171 GB, free: 23.31 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008714/0.9183, allocations: 0.5197 MB / 1.172 GB, free: 22.99 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.9183, allocations: 44.25 kB / 1.172 GB, free: 22.97 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.9184, allocations: 65.45 kB / 1.172 GB, free: 22.95 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.9201, allocations: 1.346 MB / 1.173 GB, free: 22.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.9201, allocations: 2.469 kB / 1.173 GB, free: 22.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/0.9202, allocations: 34.02 kB / 1.173 GB, free: 21.99 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/0.9203, allocations: 93.38 kB / 1.173 GB, free: 21.97 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.9214, allocations: 0.7457 MB / 1.174 GB, free: 21.71 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/0.925, allocations: 4.532 MB / 1.179 GB, free: 18.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/0.926, allocations: 0.5048 MB / 1.179 GB, free: 17.93 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004428/0.9264, allocations: 286.7 kB / 1.179 GB, free: 17.82 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.9265, allocations: 5.281 kB / 1.179 GB, free: 17.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.9265, allocations: 39.98 kB / 1.179 GB, free: 17.78 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 1.873e-06/0.9265, allocations: 0 / 1.179 GB, free: 17.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.003541/0.93, allocations: 1.685 MB / 1.181 GB, free: 17.1 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.9301, allocations: 57.16 kB / 1.181 GB, free: 17.04 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/0.9306, allocations: 0.506 MB / 1.182 GB, free: 16.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.9306, allocations: 36.52 kB / 1.182 GB, free: 16.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.9308, allocations: 425.3 kB / 1.182 GB, free: 16.41 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.9309, allocations: 180.4 kB / 1.182 GB, free: 16.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.9311, allocations: 129.5 kB / 1.182 GB, free: 16.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.9312, allocations: 371.9 kB / 1.183 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.9316, allocations: 278.3 kB / 1.183 GB, free: 15.76 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.9321, allocations: 496.7 kB / 1.183 GB, free: 15.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008796/0.9329, allocations: 0.8038 MB / 1.184 GB, free: 14.87 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.9329, allocations: 5.156 kB / 1.184 GB, free: 14.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001687/0.9346, allocations: 1.071 MB / 1.185 GB, free: 14.41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.9347, allocations: 12.88 kB / 1.185 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.9347, allocations: 7.188 kB / 1.185 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000804/0.9355, allocations: 277.2 kB / 1.186 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.9359, allocations: 129.3 kB / 1.186 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005227/0.9412, allocations: 6.606 MB / 1.192 GB, free: 8.711 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/0.9417, allocations: 37.03 kB / 1.192 GB, free: 8.703 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/0.9418, allocations: 31.22 kB / 1.192 GB, free: 8.695 MB / 1.076 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.0003097/0.9421, allocations: 251.5 kB / 1.192 GB, free: 8.512 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.976e-05/0.9422, allocations: 71.02 kB / 1.192 GB, free: 8.477 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.9437, allocations: 0.8805 MB / 1.193 GB, free: 8.082 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.9437, allocations: 5.156 kB / 1.193 GB, free: 8.082 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.9437, allocations: 7.984 kB / 1.193 GB, free: 8.078 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.9437, allocations: 3.359 kB / 1.193 GB, free: 8.078 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.9462, allocations: 1.519 MB / 1.195 GB, free: 7.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.9462, allocations: 2.266 kB / 1.195 GB, free: 7.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.9464, allocations: 59.17 kB / 1.195 GB, free: 7.316 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007306/0.9472, allocations: 267.6 kB / 1.195 GB, free: 7.23 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.9472, allocations: 10.88 kB / 1.195 GB, free: 7.223 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005136/0.9523, allocations: 6.584 MB / 1.202 GB, free: 1.664 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9523, allocations: 1.688 kB / 1.202 GB, free: 1.664 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.9538, allocations: 0.9809 MB / 1.203 GB, free: 1.145 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.9541, allocations: 109.6 kB / 1.203 GB, free: 1.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.9541, allocations: 12.42 kB / 1.203 GB, free: 1.082 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.9545, allocations: 35.69 kB / 1.203 GB, free: 1.07 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.9546, allocations: 44.58 kB / 1.203 GB, free: 1.062 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.9546, allocations: 15.09 kB / 1.203 GB, free: 1.059 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003853/0.955, allocations: 339.5 kB / 1.203 GB, free: 0.9023 MB / 1.076 GB Notification: Performance of sort global known variables: time 5e-08/0.955, allocations: 0 / 1.203 GB, free: 0.9023 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009206/0.956, allocations: 223 kB / 1.203 GB, free: 0.8789 MB / 1.076 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.0001507/0.9561, allocations: 116.5 kB / 1.203 GB, free: 0.7773 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001892/0.958, allocations: 1.233 MB / 1.205 GB, free: 52 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.958, allocations: 0 / 1.205 GB, free: 52 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.9593, allocations: 0.8606 MB / 1.205 GB, free: 15.46 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009546/0.9602, allocations: 211.8 kB / 1.206 GB, free: 15.37 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.9624, allocations: 1.354 MB / 1.207 GB, free: 14.64 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.9629, allocations: 422.8 kB / 1.207 GB, free: 14.51 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003433/0.9632, allocations: 116.1 kB / 1.207 GB, free: 14.48 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.9633, allocations: 43.44 kB / 1.208 GB, free: 14.47 MB / 1.092 GB Notification: Performance of SimCode: time 1.012e-06/0.9634, allocations: 1.156 kB / 1.208 GB, free: 14.47 MB / 1.092 GB Notification: Performance of Templates: time 0.02148/0.9848, allocations: 11.35 MB / 1.219 GB, free: 13.2 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.15111917606555]