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.00154/0.00154, allocations: 105.2 kB / 16.45 MB, free: 6.453 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.001644/0.001644, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.473/1.473, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.341/3.341, allocations: 0.4899 GB / 0.7915 GB, free: 33.49 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.002141/0.002141, allocations: 70.92 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3948, allocations: 176.1 MB / 1.321 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006316/0.4011, allocations: 3.9 MB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003175/0.4043, allocations: 1.807 MB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.4045, allocations: 11.94 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.4059, allocations: 0.5033 MB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006009/0.4065, allocations: 226.9 kB / 1.328 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.4071, allocations: 214.7 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005934/0.4077, allocations: 470.4 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005639/0.4082, allocations: 293.2 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.4085, allocations: 203.3 kB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004123/0.4089, allocations: 223.2 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.4089, allocations: 28 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004819/0.4094, allocations: 259.4 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.4096, allocations: 131.6 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.4098, allocations: 175.1 kB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007182/0.4105, allocations: 0.4981 MB / 1.33 GB, free: 9.934 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4105, allocations: 0 / 1.33 GB, free: 9.934 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4105, allocations: 0 / 1.33 GB, free: 9.934 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.4105, allocations: 0 / 1.33 GB, free: 9.934 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.001222/0.4117, allocations: 0.6442 MB / 1.331 GB, free: 9.238 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4118, allocations: 11.98 kB / 1.331 GB, free: 9.227 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00097/0.4128, allocations: 140.6 kB / 1.331 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.4132, allocations: 291.8 kB / 1.331 GB, free: 8.766 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.4132, allocations: 24.97 kB / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/0.4133, allocations: 32.36 kB / 1.331 GB, free: 8.711 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007897/0.4141, allocations: 459.9 kB / 1.331 GB, free: 8.223 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4141, allocations: 0 / 1.331 GB, free: 8.223 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.4141, allocations: 15.98 kB / 1.331 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.62e-05/0.4142, allocations: 36.48 kB / 1.331 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005388/0.4147, allocations: 321.9 kB / 1.332 GB, free: 7.859 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.4172, allocations: 2.185 MB / 1.334 GB, free: 5.461 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.4177, allocations: 235.8 kB / 1.334 GB, free: 5.203 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.418, allocations: 96.78 kB / 1.334 GB, free: 5.105 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.418, allocations: 4 kB / 1.334 GB, free: 5.102 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.418, allocations: 38.81 kB / 1.334 GB, free: 5.055 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.418, allocations: 0 / 1.334 GB, free: 5.055 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.000663/0.4187, allocations: 299.4 kB / 1.335 GB, free: 4.734 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.4187, allocations: 51.41 kB / 1.335 GB, free: 4.672 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.4191, allocations: 270.6 kB / 1.335 GB, free: 4.402 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.4191, allocations: 33.8 kB / 1.335 GB, free: 4.363 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.4193, allocations: 212.2 kB / 1.335 GB, free: 4.152 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.4193, allocations: 59.53 kB / 1.335 GB, free: 4.094 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/0.4194, allocations: 45.91 kB / 1.335 GB, free: 4.039 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.4196, allocations: 338.8 kB / 1.336 GB, free: 3.699 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4197, allocations: 52.44 kB / 1.336 GB, free: 3.648 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.4199, allocations: 148.8 kB / 1.336 GB, free: 3.465 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.4202, allocations: 214.2 kB / 1.336 GB, free: 3.219 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4202, allocations: 0 / 1.336 GB, free: 3.219 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004534/0.4206, allocations: 274 kB / 1.336 GB, free: 2.941 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4206, allocations: 4 kB / 1.336 GB, free: 2.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.4206, allocations: 4 kB / 1.336 GB, free: 2.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.4208, allocations: 33.22 kB / 1.336 GB, free: 2.898 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.421, allocations: 43.92 kB / 1.336 GB, free: 2.855 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.4224, allocations: 1.434 MB / 1.338 GB, free: 1.285 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.4226, allocations: 23.78 kB / 1.338 GB, free: 1.262 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.4226, allocations: 12 kB / 1.338 GB, free: 1.25 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.0002117/0.4228, allocations: 173.6 kB / 1.338 GB, free: 1.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/0.4229, allocations: 23.86 kB / 1.338 GB, free: 1.047 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.527e-05/0.423, allocations: 33.92 kB / 1.338 GB, free: 1.008 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.423, allocations: 4 kB / 1.338 GB, free: 1.004 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.423, allocations: 0 / 1.338 GB, free: 1.004 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.423, allocations: 3.984 kB / 1.338 GB, free: 1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.424, allocations: 0.7025 MB / 1.339 GB, free: 212 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.424, allocations: 0 / 1.339 GB, free: 212 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.185e-05/0.4241, allocations: 23.98 kB / 1.339 GB, free: 188 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.034e-05/0.4242, allocations: 32.72 kB / 1.339 GB, free: 152 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.4242, allocations: 0 / 1.339 GB, free: 152 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.4255, allocations: 1.414 MB / 1.34 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4255, allocations: 4.031 kB / 1.34 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.4259, allocations: 321.3 kB / 1.34 GB, free: 14.24 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.4261, allocations: 113 kB / 1.34 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.4261, allocations: 8 kB / 1.34 GB, free: 14.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.4262, allocations: 7.984 kB / 1.341 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.4263, allocations: 19.92 kB / 1.341 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.4263, allocations: 4.094 kB / 1.341 GB, free: 14.07 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002095/0.4265, allocations: 197.9 kB / 1.341 GB, free: 13.88 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4265, allocations: 0 / 1.341 GB, free: 13.88 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004101/0.4269, allocations: 87.78 kB / 1.341 GB, free: 13.79 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.0001333/0.427, allocations: 99.19 kB / 1.341 GB, free: 13.68 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004945/0.4275, allocations: 263 kB / 1.341 GB, free: 13.41 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4275, allocations: 192 / 1.341 GB, free: 13.41 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.4278, allocations: 186.5 kB / 1.341 GB, free: 13.22 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.4282, allocations: 56.47 kB / 1.341 GB, free: 13.16 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009234/0.4292, allocations: 0.5475 MB / 1.342 GB, free: 12.58 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.4296, allocations: 0.7909 MB / 1.343 GB, free: 11.76 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001293/0.4297, allocations: 50.23 kB / 1.343 GB, free: 11.71 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.4298, allocations: 19.44 kB / 1.343 GB, free: 11.7 MB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/0.4298, allocations: 3.938 kB / 1.343 GB, free: 11.69 MB / 1.045 GB Notification: Performance of Templates: time 0.006994/0.4368, allocations: 2.761 MB / 1.345 GB, free: 8.961 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/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: 9.496315753087401]