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.001821/0.001821, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002251/0.002251, allocations: 215.7 kB / 22.99 MB, free: 4.945 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.262/3.262, allocations: 0.4892 GB / 0.7951 GB, free: 35.65 MB / 0.6231 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.002181/0.002181, allocations: 68.72 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3838, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006233/0.39, allocations: 3.784 MB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003262/0.3933, allocations: 1.706 MB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.3935, allocations: 15.88 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.395, allocations: 496.9 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005889/0.3956, allocations: 218.9 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.3962, allocations: 215.5 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005953/0.3968, allocations: 474.4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005404/0.3973, allocations: 285.4 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.3976, allocations: 203.3 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.398, allocations: 211.2 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.102e-05/0.3981, allocations: 28 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.3985, allocations: 227.4 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.3987, allocations: 131.6 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.3988, allocations: 143.4 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006717/0.3995, allocations: 0.5097 MB / 1.335 GB, free: 9.234 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3995, allocations: 0 / 1.335 GB, free: 9.234 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3995, allocations: 0 / 1.335 GB, free: 9.234 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.3995, allocations: 0 / 1.335 GB, free: 9.234 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.001418/0.4009, allocations: 0.5674 MB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.401, allocations: 12.03 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.402, allocations: 136.6 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.4025, allocations: 234.5 kB / 1.336 GB, free: 8.238 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.4026, allocations: 25.02 kB / 1.336 GB, free: 8.211 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.4026, allocations: 32.31 kB / 1.336 GB, free: 8.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000854/0.4035, allocations: 0.5862 MB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.4035, allocations: 0 / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.4035, allocations: 15.98 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.845e-05/0.4036, allocations: 32.64 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.4041, allocations: 314.3 kB / 1.337 GB, free: 7.176 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.4064, allocations: 1.517 MB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.4068, allocations: 162.6 kB / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.407, allocations: 100.8 kB / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.4071, allocations: 0 / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.4071, allocations: 38.5 kB / 1.338 GB, free: 5.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.4071, allocations: 0 / 1.338 GB, free: 5.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0006525/0.4078, allocations: 222.6 kB / 1.339 GB, free: 5.043 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.4078, allocations: 63.34 kB / 1.339 GB, free: 4.969 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.4081, allocations: 224 kB / 1.339 GB, free: 4.742 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.4081, allocations: 29.7 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.4083, allocations: 216 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.4084, allocations: 55.58 kB / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-05/0.4085, allocations: 41.95 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.4087, allocations: 338.8 kB / 1.339 GB, free: 4.043 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.4088, allocations: 56.44 kB / 1.34 GB, free: 3.988 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.4089, allocations: 152.6 kB / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.4093, allocations: 217.2 kB / 1.34 GB, free: 3.555 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4093, allocations: 4 kB / 1.34 GB, free: 3.551 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004402/0.4097, allocations: 254 kB / 1.34 GB, free: 3.293 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4097, allocations: 10.23 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4097, allocations: 11.94 kB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.4099, allocations: 28.84 kB / 1.34 GB, free: 3.242 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.4101, allocations: 44.02 kB / 1.34 GB, free: 3.199 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.4114, allocations: 1.299 MB / 1.341 GB, free: 1.801 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.4116, allocations: 31.94 kB / 1.342 GB, free: 1.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.4116, allocations: 16 kB / 1.342 GB, free: 1.754 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.0001836/0.4118, allocations: 161.8 kB / 1.342 GB, free: 1.586 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.4118, allocations: 23.84 kB / 1.342 GB, free: 1.562 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.4119, allocations: 25.45 kB / 1.342 GB, free: 1.535 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4119, allocations: 0 / 1.342 GB, free: 1.535 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4119, allocations: 4 kB / 1.342 GB, free: 1.531 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4119, allocations: 0 / 1.342 GB, free: 1.531 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000872/0.4128, allocations: 0.5544 MB / 1.342 GB, free: 0.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.4128, allocations: 7.984 kB / 1.342 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.321e-05/0.4128, allocations: 19.94 kB / 1.342 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.612e-05/0.4129, allocations: 24.84 kB / 1.342 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.4129, allocations: 4 kB / 1.342 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.414, allocations: 1.296 MB / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.414, allocations: 0 / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.4144, allocations: 319.2 kB / 1.344 GB, free: 15.12 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.4145, allocations: 27.89 kB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.4145, allocations: 3.938 kB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.4147, allocations: 15.98 kB / 1.344 GB, free: 15.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.4147, allocations: 20.05 kB / 1.344 GB, free: 15.05 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.4147, allocations: 11.94 kB / 1.344 GB, free: 15.04 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001612/0.4149, allocations: 161.6 kB / 1.344 GB, free: 14.88 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4149, allocations: 0 / 1.344 GB, free: 14.88 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004131/0.4153, allocations: 83.78 kB / 1.344 GB, free: 14.8 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.000127/0.4154, allocations: 100.4 kB / 1.344 GB, free: 14.7 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000515/0.4159, allocations: 270.7 kB / 1.345 GB, free: 14.42 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4159, allocations: 7.938 kB / 1.345 GB, free: 14.41 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.4162, allocations: 178.6 kB / 1.345 GB, free: 14.22 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.4166, allocations: 53.61 kB / 1.345 GB, free: 14.17 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009998/0.4176, allocations: 0.5883 MB / 1.345 GB, free: 13.53 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.4178, allocations: 190.1 kB / 1.346 GB, free: 13.33 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.4179, allocations: 23.38 kB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.4179, allocations: 0 / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of Templates: time 0.007252/0.4251, allocations: 4.347 MB / 1.35 GB, free: 8.969 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: 12.35062542092055]