Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007547/0.0007547, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001814, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007052/0.0007052, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009379/0.001643, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9276/0.9276, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1101/1.038, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.439/2.439, allocations: 447.1 MB / 0.675 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.289/2.728, allocations: 146 MB / 0.8176 GB, free: 3.84 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8189 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.921e-05, allocations: 5.125 kB / 0.8189 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003509/0.003528, allocations: 3.071 MB / 0.8219 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.005366, allocations: 1.161 MB / 0.823 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.005508, allocations: 11.94 kB / 0.823 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.005904, allocations: 139.2 kB / 0.8232 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.006192, allocations: 234.5 kB / 0.8234 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.006448, allocations: 151.6 kB / 0.8235 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004381/0.006886, allocations: 0.5333 MB / 0.8241 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.007197, allocations: 272.1 kB / 0.8243 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.007477, allocations: 311.3 kB / 0.8246 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.007795, allocations: 215.4 kB / 0.8248 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.007832, allocations: 28 kB / 0.8249 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.008011, allocations: 99.78 kB / 0.825 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.707e-05/0.008108, allocations: 115.7 kB / 0.8251 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.782e-05/0.008196, allocations: 99.81 kB / 0.8252 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.008522, allocations: 302.9 kB / 0.8254 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.008535, allocations: 0 / 0.8254 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.008536, allocations: 4 kB / 0.8255 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.008548, allocations: 0 / 0.8255 GB, free: 11.8 MB / 0.8073 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.0007733/0.009322, allocations: 0.5932 MB / 0.826 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.009356, allocations: 12.03 kB / 0.826 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005538/0.009909, allocations: 257.7 kB / 0.8263 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.01014, allocations: 221.2 kB / 0.8265 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.01016, allocations: 21.03 kB / 0.8265 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.01019, allocations: 28.38 kB / 0.8265 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.01052, allocations: 427.4 kB / 0.827 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.01053, allocations: 192 / 0.827 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.01055, allocations: 16.36 kB / 0.827 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.01059, allocations: 40.52 kB / 0.827 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.01071, allocations: 92.42 kB / 0.8271 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009791/0.01169, allocations: 1.333 MB / 0.8284 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.01184, allocations: 93.3 kB / 0.8285 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.862e-05/0.01193, allocations: 56.81 kB / 0.8285 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-06/0.01194, allocations: 7.938 kB / 0.8285 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.01196, allocations: 34.56 kB / 0.8286 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.01196, allocations: 4 kB / 0.8286 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0002511/0.01221, allocations: 130.6 kB / 0.8287 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.01223, allocations: 51.41 kB / 0.8288 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.01239, allocations: 204.7 kB / 0.829 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.01241, allocations: 33.7 kB / 0.829 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.275e-05/0.01249, allocations: 204.1 kB / 0.8292 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.01251, allocations: 51.56 kB / 0.8292 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.01256, allocations: 49.88 kB / 0.8293 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.01265, allocations: 334.8 kB / 0.8296 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.01267, allocations: 20.47 kB / 0.8296 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.588e-05/0.01275, allocations: 114.9 kB / 0.8297 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.01287, allocations: 160.1 kB / 0.8299 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01287, allocations: 0 / 0.8299 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001738/0.01304, allocations: 166 kB / 0.83 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.01305, allocations: 8.375 kB / 0.83 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01306, allocations: 12 kB / 0.8301 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/0.01321, allocations: 32.81 kB / 0.8301 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.01333, allocations: 51.92 kB / 0.8301 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005996/0.01393, allocations: 1.187 MB / 0.8313 GB, free: 5.348 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.552e-05/0.014, allocations: 23.84 kB / 0.8313 GB, free: 5.324 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.01401, allocations: 11.94 kB / 0.8313 GB, free: 5.312 MB / 0.8073 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 7.664e-05/0.01409, allocations: 128.5 kB / 0.8315 GB, free: 5.176 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.01412, allocations: 19.98 kB / 0.8315 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.01414, allocations: 25.45 kB / 0.8315 GB, free: 5.133 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.01414, allocations: 0 / 0.8315 GB, free: 5.133 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01414, allocations: 4.094 kB / 0.8315 GB, free: 5.129 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01415, allocations: 3.984 kB / 0.8315 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.01461, allocations: 0.5762 MB / 0.8321 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.01461, allocations: 4 kB / 0.8321 GB, free: 4.488 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.01466, allocations: 23.98 kB / 0.8321 GB, free: 4.465 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.0147, allocations: 31.78 kB / 0.8321 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.366e-05/0.0148, allocations: 40.94 kB / 0.8322 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.0148, allocations: 4 kB / 0.8322 GB, free: 4.387 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005751/0.01538, allocations: 1.19 MB / 0.8333 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01538, allocations: 8.062 kB / 0.8333 GB, free: 3.094 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.01554, allocations: 288.6 kB / 0.8336 GB, free: 2.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.01556, allocations: 8 kB / 0.8336 GB, free: 2.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.01563, allocations: 11.98 kB / 0.8336 GB, free: 2.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.01565, allocations: 15.92 kB / 0.8336 GB, free: 2.734 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.01566, allocations: 4 kB / 0.8337 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.958e-05/0.01571, allocations: 70.03 kB / 0.8337 GB, free: 2.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01571, allocations: 0 / 0.8337 GB, free: 2.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002006/0.01591, allocations: 87.78 kB / 0.8338 GB, free: 2.574 MB / 0.8073 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 7.845e-05/0.01599, allocations: 80.36 kB / 0.8339 GB, free: 2.484 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.01626, allocations: 222.7 kB / 0.8341 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/0.01627, allocations: 4 kB / 0.8341 GB, free: 2.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.01645, allocations: 230.9 kB / 0.8343 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.01693, allocations: 435.4 kB / 0.8347 GB, free: 1.504 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.01906, allocations: 0.5643 MB / 0.8353 GB, free: 0.8867 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.579e-05/0.01912, allocations: 104.3 kB / 0.8354 GB, free: 0.7617 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.381e-05/0.01919, allocations: 25.94 kB / 0.8354 GB, free: 0.7344 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.0193, allocations: 91.34 kB / 0.8355 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.0193, allocations: 0 / 0.8355 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of Templates: time 0.005225/0.02452, allocations: 2.744 MB / 0.8382 GB, free: 13.96 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.274525344371796]