Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00161/0.00161, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001792/0.001792, allocations: 223.1 kB / 23 MB, free: 4.914 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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 3.226/3.226, allocations: 0.5107 GB / 0.8166 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] 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.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_latest_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_latest_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.002072/0.002072, allocations: 63.75 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.335, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006511/0.3415, allocations: 3.809 MB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003335/0.3448, allocations: 1.746 MB / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002731/0.3451, allocations: 11.88 kB / 1.37 GB, free: 7.949 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.3466, allocations: 456.7 kB / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006747/0.3473, allocations: 246.8 kB / 1.371 GB, free: 7.262 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007165/0.348, allocations: 251.5 kB / 1.371 GB, free: 7.016 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000742/0.3487, allocations: 0.5101 MB / 1.371 GB, free: 6.504 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000599/0.3493, allocations: 285.2 kB / 1.372 GB, free: 6.223 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003426/0.3497, allocations: 211.3 kB / 1.372 GB, free: 6.016 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005102/0.3502, allocations: 251 kB / 1.372 GB, free: 5.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.169e-05/0.3502, allocations: 28 kB / 1.372 GB, free: 5.742 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003672/0.3506, allocations: 163.6 kB / 1.372 GB, free: 5.582 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.3508, allocations: 135.6 kB / 1.372 GB, free: 5.449 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.351, allocations: 147.3 kB / 1.373 GB, free: 5.305 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007384/0.3517, allocations: 0.502 MB / 1.373 GB, free: 4.801 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3517, allocations: 3.984 kB / 1.373 GB, free: 4.797 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3517, allocations: 0 / 1.373 GB, free: 4.797 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.3517, allocations: 4 kB / 1.373 GB, free: 4.793 MB / 1.061 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.001329/0.3531, allocations: 0.5946 MB / 1.374 GB, free: 4.164 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3531, allocations: 8.031 kB / 1.374 GB, free: 4.156 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005924/0.3537, allocations: 84.64 kB / 1.374 GB, free: 4.074 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.3542, allocations: 249.6 kB / 1.374 GB, free: 3.805 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.3542, allocations: 25.02 kB / 1.374 GB, free: 3.781 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.83e-05/0.3543, allocations: 28.36 kB / 1.374 GB, free: 3.754 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009716/0.3552, allocations: 0.5908 MB / 1.375 GB, free: 3.109 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.3553, allocations: 0 / 1.375 GB, free: 3.109 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.853e-05/0.3553, allocations: 15.98 kB / 1.375 GB, free: 3.094 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.28e-05/0.3554, allocations: 44.62 kB / 1.375 GB, free: 3.051 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008193/0.3562, allocations: 362.2 kB / 1.375 GB, free: 2.695 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.3583, allocations: 1.384 MB / 1.376 GB, free: 1.254 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/0.359, allocations: 211.1 kB / 1.377 GB, free: 1.043 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/0.3594, allocations: 148.8 kB / 1.377 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3595, allocations: 0 / 1.377 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3595, allocations: 38.56 kB / 1.377 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.3595, allocations: 0 / 1.377 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001215/0.3607, allocations: 354 kB / 1.377 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.3607, allocations: 55.41 kB / 1.377 GB, free: 436 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.361, allocations: 233 kB / 1.377 GB, free: 196 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.361, allocations: 37.64 kB / 1.377 GB, free: 152 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.3612, allocations: 212.3 kB / 1.378 GB, free: 15.93 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/0.3613, allocations: 71.42 kB / 1.378 GB, free: 15.86 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3614, allocations: 61.94 kB / 1.378 GB, free: 15.79 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3616, allocations: 334.8 kB / 1.378 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.3618, allocations: 93.91 kB / 1.378 GB, free: 15.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.3622, allocations: 241.2 kB / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006271/0.3628, allocations: 321.1 kB / 1.379 GB, free: 14.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3628, allocations: 0 / 1.379 GB, free: 14.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000885/0.3637, allocations: 369.9 kB / 1.379 GB, free: 14.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3637, allocations: 4 kB / 1.379 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3638, allocations: 4 kB / 1.379 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002575/0.364, allocations: 49 kB / 1.379 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.3643, allocations: 59.91 kB / 1.379 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.3658, allocations: 1.331 MB / 1.38 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.366, allocations: 39.77 kB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.3661, allocations: 15.98 kB / 1.381 GB, free: 12.74 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003876/0.3665, allocations: 217.7 kB / 1.381 GB, free: 12.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003631/0.3668, allocations: 236.9 kB / 1.381 GB, free: 12.23 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000625/0.3675, allocations: 315.2 kB / 1.381 GB, free: 11.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.037e-06/0.3675, allocations: 4 kB / 1.381 GB, free: 11.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008125/0.3683, allocations: 355.8 kB / 1.382 GB, free: 11.52 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.3683, allocations: 4 kB / 1.382 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3683, allocations: 4 kB / 1.382 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001112/0.3684, allocations: 37.25 kB / 1.382 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.3687, allocations: 67.89 kB / 1.382 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.3699, allocations: 1.28 MB / 1.383 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.3701, allocations: 43.7 kB / 1.383 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.3701, allocations: 24.09 kB / 1.383 GB, free: 9.953 MB / 1.076 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.0001633/0.3703, allocations: 200.1 kB / 1.383 GB, free: 9.75 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.3704, allocations: 19.86 kB / 1.383 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/0.3704, allocations: 30.11 kB / 1.383 GB, free: 9.703 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3704, allocations: 0 / 1.383 GB, free: 9.703 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3704, allocations: 7.938 kB / 1.383 GB, free: 9.695 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3704, allocations: 3.984 kB / 1.383 GB, free: 9.691 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.3716, allocations: 0.5941 MB / 1.384 GB, free: 9.051 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.3717, allocations: 11.92 kB / 1.384 GB, free: 9.039 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.3718, allocations: 39.91 kB / 1.384 GB, free: 9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.922e-05/0.3719, allocations: 24.91 kB / 1.384 GB, free: 8.973 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.372, allocations: 4 kB / 1.384 GB, free: 8.969 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.3731, allocations: 1.299 MB / 1.385 GB, free: 7.566 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3731, allocations: 0 / 1.385 GB, free: 7.566 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006782/0.3738, allocations: 367.2 kB / 1.386 GB, free: 7.184 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.3739, allocations: 35.78 kB / 1.386 GB, free: 7.148 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.3739, allocations: 11.98 kB / 1.386 GB, free: 7.137 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.3741, allocations: 15.98 kB / 1.386 GB, free: 7.121 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.3742, allocations: 19.91 kB / 1.386 GB, free: 7.102 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.3742, allocations: 8 kB / 1.386 GB, free: 7.094 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001672/0.3744, allocations: 156.5 kB / 1.386 GB, free: 6.938 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3744, allocations: 4 kB / 1.386 GB, free: 6.934 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006312/0.375, allocations: 155.6 kB / 1.386 GB, free: 6.781 MB / 1.076 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.0001261/0.3751, allocations: 103.2 kB / 1.386 GB, free: 6.672 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.3764, allocations: 0.5842 MB / 1.387 GB, free: 6.062 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3765, allocations: 1.375 kB / 1.387 GB, free: 6.062 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.3768, allocations: 221 kB / 1.387 GB, free: 5.836 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.3773, allocations: 76.23 kB / 1.387 GB, free: 5.766 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.3784, allocations: 0.5974 MB / 1.387 GB, free: 5.133 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.3786, allocations: 192.5 kB / 1.388 GB, free: 4.918 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.128e-05/0.3787, allocations: 27.44 kB / 1.388 GB, free: 4.891 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/0.3787, allocations: 4 kB / 1.388 GB, free: 4.887 MB / 1.076 GB Notification: Performance of Templates: time 0.008102/0.3868, allocations: 4.884 MB / 1.392 GB, free: 16 kB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.234656011220068]