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.001252/0.001252, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001428/0.001428, allocations: 209.4 kB / 23.03 MB, free: 4.867 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.449/1.449, 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.106/3.106, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 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.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.002091/0.002091, allocations: 74.73 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3446, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.00737/0.352, allocations: 3.815 MB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003353/0.3554, allocations: 1.757 MB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.3556, allocations: 11.94 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.3569, allocations: 445.6 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005684/0.3575, allocations: 246.8 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005965/0.3581, allocations: 247.5 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006418/0.3588, allocations: 0.5179 MB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005689/0.3593, allocations: 281.2 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.3596, allocations: 211.3 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004558/0.36, allocations: 235.2 kB / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.3601, allocations: 32 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.3604, allocations: 171.6 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.3606, allocations: 139.5 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.3608, allocations: 147.4 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006189/0.3614, allocations: 0.5059 MB / 1.336 GB, free: 8.289 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3614, allocations: 0 / 1.336 GB, free: 8.289 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3614, allocations: 0 / 1.336 GB, free: 8.289 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3614, allocations: 0 / 1.336 GB, free: 8.289 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.001209/0.3626, allocations: 0.6002 MB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3626, allocations: 11.97 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005685/0.3632, allocations: 88.64 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.3637, allocations: 246.2 kB / 1.337 GB, free: 7.293 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.3637, allocations: 21.03 kB / 1.337 GB, free: 7.273 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.3638, allocations: 36.36 kB / 1.337 GB, free: 7.238 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000927/0.3647, allocations: 0.5869 MB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.3647, allocations: 3.984 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.3648, allocations: 15.98 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-05/0.3648, allocations: 32.64 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007762/0.3656, allocations: 374.2 kB / 1.338 GB, free: 6.176 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.3677, allocations: 1.368 MB / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/0.3683, allocations: 218.7 kB / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.3687, allocations: 140.8 kB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.3687, allocations: 0 / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.3688, allocations: 34.56 kB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.3688, allocations: 0 / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001162/0.3699, allocations: 356 kB / 1.34 GB, free: 3.988 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.37, allocations: 59.41 kB / 1.34 GB, free: 3.918 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.3702, allocations: 237 kB / 1.34 GB, free: 3.676 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.3703, allocations: 29.7 kB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.3704, allocations: 216.1 kB / 1.34 GB, free: 3.426 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.3705, allocations: 67.42 kB / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3706, allocations: 57.98 kB / 1.34 GB, free: 3.293 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3707, allocations: 334.8 kB / 1.341 GB, free: 2.957 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.371, allocations: 101.9 kB / 1.341 GB, free: 2.855 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.3714, allocations: 241.2 kB / 1.341 GB, free: 2.562 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.372, allocations: 309.4 kB / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.372, allocations: 4 kB / 1.341 GB, free: 2.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008187/0.3728, allocations: 364.3 kB / 1.342 GB, free: 1.844 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3728, allocations: 15.97 kB / 1.342 GB, free: 1.828 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3729, allocations: 4 kB / 1.342 GB, free: 1.824 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.3731, allocations: 36.83 kB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.3734, allocations: 71.89 kB / 1.342 GB, free: 1.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.3748, allocations: 1.341 MB / 1.343 GB, free: 280 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.375, allocations: 39.77 kB / 1.343 GB, free: 240 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.3751, allocations: 12 kB / 1.343 GB, free: 228 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004419/0.3755, allocations: 224.8 kB / 1.343 GB, free: 0 / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004129/0.3759, allocations: 232.9 kB / 1.343 GB, free: 15.71 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005825/0.3765, allocations: 310.6 kB / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.803e-06/0.3765, allocations: 4 kB / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007931/0.3773, allocations: 355.4 kB / 1.344 GB, free: 15 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3773, allocations: 8 kB / 1.344 GB, free: 15 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3773, allocations: 4 kB / 1.344 GB, free: 14.99 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/0.3774, allocations: 28.84 kB / 1.344 GB, free: 14.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.3777, allocations: 67.89 kB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.3788, allocations: 1.284 MB / 1.345 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.3791, allocations: 47.73 kB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.3791, allocations: 12 kB / 1.346 GB, free: 13.45 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.000171/0.3793, allocations: 196.1 kB / 1.346 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.3793, allocations: 23.86 kB / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.762e-05/0.3794, allocations: 30.27 kB / 1.346 GB, free: 13.19 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3794, allocations: 8 kB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3794, allocations: 3.938 kB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3794, allocations: 0 / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.3807, allocations: 0.5994 MB / 1.346 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.3807, allocations: 12 kB / 1.346 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.3809, allocations: 43.91 kB / 1.346 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.381, allocations: 24.84 kB / 1.346 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.381, allocations: 7.984 kB / 1.346 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.3821, allocations: 1.288 MB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3822, allocations: 0 / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000661/0.3828, allocations: 369.7 kB / 1.348 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/0.3829, allocations: 35.78 kB / 1.348 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.3829, allocations: 8 kB / 1.348 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.3831, allocations: 20.06 kB / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.3832, allocations: 19.86 kB / 1.348 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.3832, allocations: 4 kB / 1.348 GB, free: 10.58 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001633/0.3833, allocations: 164.5 kB / 1.348 GB, free: 10.42 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3833, allocations: 0 / 1.348 GB, free: 10.42 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006447/0.384, allocations: 155.6 kB / 1.348 GB, free: 10.27 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0001265/0.3841, allocations: 115.1 kB / 1.349 GB, free: 10.15 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.3854, allocations: 0.5857 MB / 1.349 GB, free: 9.539 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3854, allocations: 0 / 1.349 GB, free: 9.539 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.3857, allocations: 214.5 kB / 1.349 GB, free: 9.316 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.3862, allocations: 77.77 kB / 1.349 GB, free: 9.246 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009971/0.3872, allocations: 0.6014 MB / 1.35 GB, free: 8.609 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.3875, allocations: 200.4 kB / 1.35 GB, free: 8.383 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.563e-05/0.3876, allocations: 23.44 kB / 1.35 GB, free: 8.359 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.3876, allocations: 0 / 1.35 GB, free: 8.359 MB / 1.045 GB Notification: Performance of Templates: time 0.00779/0.3954, allocations: 4.885 MB / 1.355 GB, free: 3.488 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: 11.968740518204868]