Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.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.001792/0.001792, 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.002203/0.002203, allocations: 213.4 kB / 23.04 MB, free: 4.863 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.144/3.144, allocations: 0.49 GB / 0.7959 GB, free: 35.34 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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor") [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.002021/0.002021, allocations: 67.64 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3506, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005979/0.3566, allocations: 3.788 MB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003071/0.3597, allocations: 1.71 MB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.3598, allocations: 11.94 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.3613, allocations: 0.4912 MB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005565/0.3619, allocations: 218.9 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.3624, allocations: 212.3 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005874/0.363, allocations: 478.5 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005244/0.3636, allocations: 285.4 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.3638, allocations: 199.2 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.3642, allocations: 215.2 kB / 1.335 GB, free: 9.383 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.792e-05/0.3643, allocations: 28 kB / 1.335 GB, free: 9.355 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.3647, allocations: 215.5 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.3648, allocations: 135.6 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.365, allocations: 147.3 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006342/0.3656, allocations: 0.5059 MB / 1.336 GB, free: 8.359 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3656, allocations: 0 / 1.336 GB, free: 8.359 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3656, allocations: 4 kB / 1.336 GB, free: 8.355 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.3656, allocations: 0 / 1.336 GB, free: 8.355 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001035/0.3667, allocations: 0.5596 MB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3667, allocations: 12.03 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009378/0.3676, allocations: 136.6 kB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.368, allocations: 242.4 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.3681, allocations: 21.03 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.3681, allocations: 28.38 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007709/0.3689, allocations: 0.5862 MB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.3689, allocations: 4 kB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.3689, allocations: 16 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/0.369, allocations: 28.64 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005094/0.3695, allocations: 326.3 kB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.3715, allocations: 1.517 MB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.3719, allocations: 162.7 kB / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.3721, allocations: 96.8 kB / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.3721, allocations: 4 kB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.3722, allocations: 38.5 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.3722, allocations: 0 / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.000588/0.3727, allocations: 222.5 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.3728, allocations: 55.41 kB / 1.339 GB, free: 4.094 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.373, allocations: 232 kB / 1.34 GB, free: 3.859 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3731, allocations: 29.7 kB / 1.34 GB, free: 3.824 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.3732, allocations: 216.1 kB / 1.34 GB, free: 3.605 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.3733, allocations: 51.58 kB / 1.34 GB, free: 3.555 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.463e-05/0.3733, allocations: 45.94 kB / 1.34 GB, free: 3.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3735, allocations: 334.8 kB / 1.34 GB, free: 3.164 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.3736, allocations: 60.38 kB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.3738, allocations: 141 kB / 1.341 GB, free: 2.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.3741, allocations: 215 kB / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3741, allocations: 4 kB / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004388/0.3745, allocations: 263.8 kB / 1.341 GB, free: 2.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3745, allocations: 9.562 kB / 1.341 GB, free: 2.402 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3745, allocations: 0 / 1.341 GB, free: 2.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.3747, allocations: 37.16 kB / 1.341 GB, free: 2.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.3749, allocations: 43.97 kB / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.3761, allocations: 1.295 MB / 1.342 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.3762, allocations: 23.78 kB / 1.342 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.3762, allocations: 12 kB / 1.342 GB, free: 0.8906 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.3764, allocations: 169.9 kB / 1.343 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.3765, allocations: 23.83 kB / 1.343 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.349e-05/0.3765, allocations: 25.45 kB / 1.343 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3765, allocations: 4.094 kB / 1.343 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3765, allocations: 3.938 kB / 1.343 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3765, allocations: 0 / 1.343 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008651/0.3774, allocations: 0.5584 MB / 1.343 GB, free: 40 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3774, allocations: 3.938 kB / 1.343 GB, free: 36 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.655e-05/0.3775, allocations: 31.92 kB / 1.343 GB, free: 4 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.3776, allocations: 20.84 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.3776, allocations: 4 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.3787, allocations: 1.292 MB / 1.344 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.3787, allocations: 4.031 kB / 1.344 GB, free: 14.58 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.3791, allocations: 317.2 kB / 1.345 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/0.3791, allocations: 27.89 kB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.3792, allocations: 8 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.3793, allocations: 4 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.3794, allocations: 23.91 kB / 1.345 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.3794, allocations: 7.938 kB / 1.345 GB, free: 14.16 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001625/0.3795, allocations: 165.7 kB / 1.345 GB, free: 14 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3795, allocations: 0 / 1.345 GB, free: 14 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004213/0.38, allocations: 83.78 kB / 1.345 GB, free: 13.92 MB / 1.045 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 (14): * Single equations (assignments): 13 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001254/0.3801, allocations: 99.23 kB / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004777/0.3806, allocations: 270.9 kB / 1.345 GB, free: 13.54 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3806, allocations: 4.25 kB / 1.345 GB, free: 13.54 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.3808, allocations: 182.5 kB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.3812, allocations: 57.11 kB / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.3823, allocations: 0.5889 MB / 1.346 GB, free: 12.65 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.3825, allocations: 182.1 kB / 1.346 GB, free: 12.46 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.3825, allocations: 27.44 kB / 1.346 GB, free: 12.43 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.3825, allocations: 0 / 1.346 GB, free: 12.43 MB / 1.045 GB Notification: Performance of Templates: time 0.006894/0.3894, allocations: 4.347 MB / 1.351 GB, free: 8.086 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.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.865340024000034]