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.001723/0.001723, allocations: 79.73 kB / 19.76 MB, free: 1.879 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.002432/0.002432, allocations: 161.2 kB / 23.01 MB, free: 4.574 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.564/1.564, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.874/2.874, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.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.002202/0.002202, allocations: 67.89 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18/1.182, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004996/1.187, allocations: 3.797 MB / 1.158 GB, free: 30.87 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002641/1.19, allocations: 1.707 MB / 1.159 GB, free: 29.76 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/1.19, allocations: 9.062 kB / 1.159 GB, free: 29.76 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/1.191, allocations: 497.1 kB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004234/1.192, allocations: 233 kB / 1.16 GB, free: 29.35 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/1.192, allocations: 205.9 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004284/1.193, allocations: 478.9 kB / 1.161 GB, free: 29.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004382/1.193, allocations: 283.2 kB / 1.161 GB, free: 28.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/1.193, allocations: 207.5 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/1.194, allocations: 210.5 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/1.194, allocations: 29.16 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/1.194, allocations: 223.8 kB / 1.162 GB, free: 28.67 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/1.194, allocations: 128.2 kB / 1.162 GB, free: 28.62 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/1.194, allocations: 143.1 kB / 1.162 GB, free: 28.55 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005375/1.195, allocations: 0.5058 MB / 1.162 GB, free: 28.37 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.195, allocations: 0 / 1.162 GB, free: 28.37 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.763e-06/1.195, allocations: 2.656 kB / 1.162 GB, free: 28.37 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.736e-06/1.195, allocations: 0 / 1.162 GB, free: 28.37 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001067/1.196, allocations: 0.5728 MB / 1.163 GB, free: 27.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.196, allocations: 8.531 kB / 1.163 GB, free: 27.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000913/1.197, allocations: 136.2 kB / 1.163 GB, free: 27.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/1.197, allocations: 236.1 kB / 1.163 GB, free: 27.71 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/1.197, allocations: 20.69 kB / 1.163 GB, free: 27.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/1.197, allocations: 29.17 kB / 1.163 GB, free: 27.69 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/1.198, allocations: 0.5854 MB / 1.164 GB, free: 27.29 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/1.198, allocations: 0 / 1.164 GB, free: 27.29 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/1.198, allocations: 17.39 kB / 1.164 GB, free: 27.28 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-05/1.198, allocations: 29.89 kB / 1.164 GB, free: 27.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004508/1.198, allocations: 323.1 kB / 1.164 GB, free: 27.16 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/1.2, allocations: 1.518 MB / 1.166 GB, free: 25.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/1.2, allocations: 158.8 kB / 1.166 GB, free: 25.89 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/1.2, allocations: 94.72 kB / 1.166 GB, free: 25.86 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/1.2, allocations: 0 / 1.166 GB, free: 25.86 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/1.2, allocations: 44.59 kB / 1.166 GB, free: 25.81 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 9.41e-07/1.2, allocations: 0 / 1.166 GB, free: 25.81 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0005776/1.201, allocations: 223 kB / 1.166 GB, free: 25.71 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/1.201, allocations: 53.81 kB / 1.166 GB, free: 25.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/1.201, allocations: 231.6 kB / 1.166 GB, free: 25.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/1.201, allocations: 32.23 kB / 1.166 GB, free: 25.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/1.201, allocations: 215.5 kB / 1.167 GB, free: 25.28 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/1.202, allocations: 55.58 kB / 1.167 GB, free: 25.24 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/1.202, allocations: 44.83 kB / 1.167 GB, free: 25.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.747e-05/1.202, allocations: 342.2 kB / 1.167 GB, free: 24.87 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-05/1.202, allocations: 56.58 kB / 1.167 GB, free: 24.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/1.202, allocations: 140.3 kB / 1.167 GB, free: 24.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/1.202, allocations: 216.3 kB / 1.167 GB, free: 24.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.202, allocations: 0 / 1.167 GB, free: 24.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003462/1.202, allocations: 265.2 kB / 1.168 GB, free: 24.44 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.202, allocations: 5.25 kB / 1.168 GB, free: 24.44 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.202, allocations: 2.625 kB / 1.168 GB, free: 24.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/1.203, allocations: 32.14 kB / 1.168 GB, free: 24.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/1.203, allocations: 46.61 kB / 1.168 GB, free: 24.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007639/1.204, allocations: 1.298 MB / 1.169 GB, free: 23.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/1.204, allocations: 27.78 kB / 1.169 GB, free: 23.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/1.204, allocations: 7.875 kB / 1.169 GB, free: 23.14 MB / 1.076 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.0001539/1.204, allocations: 171.4 kB / 1.169 GB, free: 23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/1.204, allocations: 34.42 kB / 1.169 GB, free: 22.97 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/1.204, allocations: 22.72 kB / 1.169 GB, free: 22.95 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.204, allocations: 2.625 kB / 1.169 GB, free: 22.95 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.204, allocations: 0 / 1.169 GB, free: 22.95 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.204, allocations: 3.234 kB / 1.169 GB, free: 22.95 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006911/1.205, allocations: 0.5525 MB / 1.17 GB, free: 22.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.205, allocations: 2.625 kB / 1.17 GB, free: 22.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.224e-05/1.205, allocations: 29.78 kB / 1.17 GB, free: 22.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.597e-05/1.205, allocations: 22.78 kB / 1.17 GB, free: 22.54 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/1.205, allocations: 2.625 kB / 1.17 GB, free: 22.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006712/1.206, allocations: 1.289 MB / 1.171 GB, free: 21.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.206, allocations: 0 / 1.171 GB, free: 21.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/1.206, allocations: 315.7 kB / 1.172 GB, free: 21.04 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.428e-05/1.206, allocations: 39.3 kB / 1.172 GB, free: 21.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/1.206, allocations: 2.625 kB / 1.172 GB, free: 21.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/1.206, allocations: 11.88 kB / 1.172 GB, free: 21.01 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/1.206, allocations: 16.61 kB / 1.172 GB, free: 21.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/1.206, allocations: 13.22 kB / 1.172 GB, free: 21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000127/1.206, allocations: 162.2 kB / 1.172 GB, free: 20.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.206, allocations: 0 / 1.172 GB, free: 20.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003744/1.207, allocations: 80.44 kB / 1.172 GB, free: 20.88 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 (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.0001026/1.207, allocations: 107.1 kB / 1.172 GB, free: 20.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004214/1.207, allocations: 262.9 kB / 1.172 GB, free: 20.62 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.207, allocations: 0 / 1.172 GB, free: 20.62 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/1.207, allocations: 189.4 kB / 1.172 GB, free: 20.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/1.208, allocations: 50.59 kB / 1.172 GB, free: 20.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008509/1.209, allocations: 0.5452 MB / 1.173 GB, free: 20.11 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/1.209, allocations: 186.4 kB / 1.173 GB, free: 20.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001214/1.209, allocations: 45.03 kB / 1.173 GB, free: 20 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/1.209, allocations: 19.5 kB / 1.173 GB, free: 19.99 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.209, allocations: 0 / 1.173 GB, free: 19.99 MB / 1.076 GB Notification: Performance of Templates: time 0.007124/1.216, allocations: 2.443 MB / 1.176 GB, free: 19.68 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.794729829998687]