Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.001223/0.001223, allocations: 108.2 kB / 19.71 MB, free: 2.145 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.001533/0.001533, allocations: 216 kB / 23 MB, free: 4.969 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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 3.349/3.349, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] 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.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [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.001985/0.001985, allocations: 65.25 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.416, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006314/0.4223, allocations: 3.819 MB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003217/0.4255, allocations: 1.745 MB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.4257, allocations: 11.94 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.4271, allocations: 448.5 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006719/0.4278, allocations: 242.8 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.4285, allocations: 259.5 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006169/0.4291, allocations: 0.5101 MB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005261/0.4296, allocations: 297.1 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.4299, allocations: 215.3 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004481/0.4303, allocations: 251.1 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.981e-05/0.4304, allocations: 32 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.4308, allocations: 163.6 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.4309, allocations: 143.5 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.4311, allocations: 147.3 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007185/0.4318, allocations: 0.4981 MB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4318, allocations: 8 kB / 1.336 GB, free: 8.234 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.173e-06/0.4318, allocations: 0 / 1.336 GB, free: 8.234 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.4319, allocations: 4 kB / 1.336 GB, free: 8.23 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0013/0.4332, allocations: 0.5984 MB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4332, allocations: 8.031 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005846/0.4338, allocations: 84.64 kB / 1.336 GB, free: 7.508 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.4342, allocations: 250.2 kB / 1.337 GB, free: 7.238 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.4343, allocations: 21.03 kB / 1.337 GB, free: 7.219 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.4343, allocations: 28.38 kB / 1.337 GB, free: 7.191 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009433/0.4353, allocations: 0.5869 MB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.4353, allocations: 4 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.4353, allocations: 16 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.255e-05/0.4354, allocations: 40.56 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007718/0.4362, allocations: 366.2 kB / 1.338 GB, free: 6.133 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.4383, allocations: 1.38 MB / 1.339 GB, free: 4.695 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.439, allocations: 216.5 kB / 1.339 GB, free: 4.477 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.4394, allocations: 136.8 kB / 1.339 GB, free: 4.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.4394, allocations: 4 kB / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.4394, allocations: 38.55 kB / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.4394, allocations: 0 / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001223/0.4406, allocations: 350 kB / 1.34 GB, free: 3.938 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.4407, allocations: 55.41 kB / 1.34 GB, free: 3.871 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.441, allocations: 237 kB / 1.34 GB, free: 3.629 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.441, allocations: 25.7 kB / 1.34 GB, free: 3.598 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.4412, allocations: 220.1 kB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.4412, allocations: 67.42 kB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.4414, allocations: 61.98 kB / 1.34 GB, free: 3.242 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.4415, allocations: 334.8 kB / 1.341 GB, free: 2.906 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.4418, allocations: 101.9 kB / 1.341 GB, free: 2.805 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.4422, allocations: 233.2 kB / 1.341 GB, free: 2.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/0.4428, allocations: 323.7 kB / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4428, allocations: 0 / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008385/0.4436, allocations: 367.2 kB / 1.342 GB, free: 1.789 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4436, allocations: 8 kB / 1.342 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.4436, allocations: 4 kB / 1.342 GB, free: 1.777 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/0.4439, allocations: 41.08 kB / 1.342 GB, free: 1.734 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.4442, allocations: 71.89 kB / 1.342 GB, free: 1.664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.4457, allocations: 1.333 MB / 1.343 GB, free: 236 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.4459, allocations: 39.75 kB / 1.343 GB, free: 196 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.4459, allocations: 16 kB / 1.343 GB, free: 180 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003673/0.4463, allocations: 224.5 kB / 1.343 GB, free: 15.95 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003693/0.4467, allocations: 233 kB / 1.343 GB, free: 15.67 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005759/0.4473, allocations: 315.1 kB / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.4473, allocations: 0 / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007587/0.448, allocations: 362.9 kB / 1.344 GB, free: 14.95 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.448, allocations: 8 kB / 1.344 GB, free: 14.94 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.448, allocations: 4 kB / 1.344 GB, free: 14.94 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001038/0.4481, allocations: 33.31 kB / 1.344 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.4484, allocations: 63.89 kB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.4496, allocations: 1.284 MB / 1.345 GB, free: 13.45 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.4499, allocations: 39.95 kB / 1.345 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.4499, allocations: 23.94 kB / 1.346 GB, free: 13.39 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00019/0.4501, allocations: 196.1 kB / 1.346 GB, free: 13.19 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.4502, allocations: 23.86 kB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.61e-05/0.4502, allocations: 30.11 kB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4502, allocations: 0 / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4502, allocations: 4 kB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.4503, allocations: 39.72 kB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.4504, allocations: 0 / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.4505, allocations: 23.97 kB / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.4506, allocations: 11.98 kB / 1.346 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007355/0.4514, allocations: 327.3 kB / 1.346 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008485/0.4522, allocations: 0.4942 MB / 1.347 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002204/0.4524, allocations: 83.95 kB / 1.347 GB, free: 12.14 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001727/0.4526, allocations: 156.5 kB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of Backend: time 6.42e-07/0.4526, allocations: 0 / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.4543, allocations: 0.6968 MB / 1.348 GB, free: 11.25 MB / 1.045 GB Notification: Performance of SimCode: time 0.001383/0.4557, allocations: 1.031 MB / 1.349 GB, free: 10.18 MB / 1.045 GB Notification: Performance of Templates: time 0.01272/0.4684, allocations: 5.681 MB / 1.354 GB, free: 4.578 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.679703621004592]