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.001816/0.001816, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001605/0.001605, allocations: 161.6 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.478/1.478, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.871/2.871, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.8108 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.868e-05/4.075e-05, allocations: 3.031 kB / 0.8108 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.009382/0.009423, allocations: 3.753 MB / 0.8144 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005373/0.0148, allocations: 1.688 MB / 0.8161 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.01523, allocations: 7.938 kB / 0.8161 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002479/0.01771, allocations: 0.4885 MB / 0.8166 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.01893, allocations: 242.6 kB / 0.8168 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.02029, allocations: 207.3 kB / 0.817 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.02135, allocations: 490.2 kB / 0.8175 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009564/0.0223, allocations: 294.1 kB / 0.8178 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007993/0.0231, allocations: 275.3 kB / 0.818 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008435/0.02395, allocations: 196.6 kB / 0.8182 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.02405, allocations: 28 kB / 0.8182 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007597/0.02481, allocations: 227.9 kB / 0.8184 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.02508, allocations: 132.2 kB / 0.8186 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.02539, allocations: 123.7 kB / 0.8187 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.02664, allocations: 0.5115 MB / 0.8192 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.02665, allocations: 0 / 0.8192 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.583e-06/0.02665, allocations: 0 / 0.8192 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.02666, allocations: 0 / 0.8192 GB, free: 8.363 MB / 0.7292 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.001855/0.02852, allocations: 0.5654 MB / 0.8197 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.02857, allocations: 8.75 kB / 0.8198 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.03033, allocations: 198.4 kB / 0.8199 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006824/0.03101, allocations: 240 kB / 0.8202 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.03106, allocations: 25.02 kB / 0.8202 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.601e-05/0.03114, allocations: 30.22 kB / 0.8202 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.03249, allocations: 0.5863 MB / 0.8208 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.03251, allocations: 4.172 kB / 0.8208 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/0.03257, allocations: 12.38 kB / 0.8208 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.144e-05/0.03267, allocations: 32.58 kB / 0.8208 GB, free: 6.562 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009212/0.03359, allocations: 323.5 kB / 0.8211 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003443/0.03703, allocations: 1.517 MB / 0.8226 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/0.03761, allocations: 162.7 kB / 0.8228 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/0.03799, allocations: 97.61 kB / 0.8229 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.038, allocations: 4 kB / 0.8229 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.03805, allocations: 39.34 kB / 0.8229 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 2.565e-06/0.03806, allocations: 0 / 0.8229 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0009363/0.03899, allocations: 220.8 kB / 0.8231 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.03906, allocations: 59.39 kB / 0.8232 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.0395, allocations: 232 kB / 0.8234 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.03954, allocations: 34.14 kB / 0.8234 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.03979, allocations: 208.2 kB / 0.8236 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/0.03987, allocations: 56.25 kB / 0.8237 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.04002, allocations: 45.94 kB / 0.8237 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0005328/0.04055, allocations: 332.5 kB / 0.8241 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.04072, allocations: 52.44 kB / 0.8241 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.04102, allocations: 144.8 kB / 0.8242 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.04154, allocations: 216.5 kB / 0.8244 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/0.04154, allocations: 4.062 kB / 0.8245 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008185/0.04236, allocations: 283.2 kB / 0.8247 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.0424, allocations: 8 kB / 0.8247 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.04241, allocations: 4.5 kB / 0.8247 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003568/0.04277, allocations: 38.8 kB / 0.8248 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.04305, allocations: 48.98 kB / 0.8248 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.04491, allocations: 1.296 MB / 0.8261 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.04517, allocations: 24.5 kB / 0.8261 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.0452, allocations: 14.03 kB / 0.8261 GB, free: 0.8477 MB / 0.7292 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.0002859/0.04548, allocations: 169.7 kB / 0.8263 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.04557, allocations: 19.91 kB / 0.8263 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.024e-05/0.04566, allocations: 29.45 kB / 0.8263 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.04567, allocations: 7.188 kB / 0.8263 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.04567, allocations: 0 / 0.8263 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.04567, allocations: 0 / 0.8263 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.0471, allocations: 0.5583 MB / 0.8269 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.04711, allocations: 0 / 0.8269 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.04726, allocations: 24.92 kB / 0.8269 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002527/0.04752, allocations: 42.92 kB / 0.8269 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.04753, allocations: 0 / 0.8269 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.0493, allocations: 1.303 MB / 0.8282 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.0493, allocations: 4 kB / 0.8282 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.04989, allocations: 305.4 kB / 0.8285 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.05002, allocations: 39.72 kB / 0.8286 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.05008, allocations: 11.98 kB / 0.8286 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.05035, allocations: 8.719 kB / 0.8286 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.0504, allocations: 11.98 kB / 0.8286 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.05042, allocations: 5.656 kB / 0.8286 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002696/0.05069, allocations: 165.6 kB / 0.8287 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.05069, allocations: 0 / 0.8287 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007826/0.05147, allocations: 79.78 kB / 0.8288 GB, free: 13.87 MB / 0.7448 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.0002034/0.05167, allocations: 104.1 kB / 0.8289 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007378/0.05241, allocations: 266.4 kB / 0.8292 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.05241, allocations: 0 / 0.8292 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.05278, allocations: 187.6 kB / 0.8294 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.05356, allocations: 58.27 kB / 0.8294 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.05499, allocations: 0.5256 MB / 0.8299 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.05532, allocations: 190 kB / 0.8301 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000207/0.05553, allocations: 41.91 kB / 0.8301 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.985e-05/0.05561, allocations: 20.5 kB / 0.8302 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of SimCode: time 1.253e-06/0.05561, allocations: 0 / 0.8302 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of Templates: time 0.009958/0.06557, allocations: 2.46 MB / 0.8326 GB, free: 10.02 MB / 0.7448 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/jenkins/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: 8.096963129937649]