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.001744/0.001744, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002197/0.002197, allocations: 207.8 kB / 22.98 MB, free: 4.984 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.264/3.264, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.002095/0.002095, allocations: 72.19 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3587, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006301/0.365, allocations: 3.78 MB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003095/0.3681, allocations: 1.702 MB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.3683, allocations: 11.94 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.3698, allocations: 0.4978 MB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005384/0.3704, allocations: 226.9 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.3709, allocations: 207.5 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006206/0.3715, allocations: 474.4 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005513/0.3721, allocations: 297.3 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.3723, allocations: 195.4 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.3727, allocations: 231.2 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.974e-05/0.3728, allocations: 28 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003883/0.3732, allocations: 223.5 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.3733, allocations: 131.6 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.3735, allocations: 143.4 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006473/0.3742, allocations: 0.5098 MB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3742, allocations: 0 / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3742, allocations: 0 / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.3742, allocations: 0 / 1.335 GB, free: 8.387 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.001097/0.3753, allocations: 0.5673 MB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3753, allocations: 12.03 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000967/0.3763, allocations: 136.6 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.3767, allocations: 238.5 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.3768, allocations: 21.03 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.3768, allocations: 32.36 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008395/0.3777, allocations: 0.5784 MB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.3777, allocations: 4 kB / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.3777, allocations: 19.97 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.771e-05/0.3778, allocations: 32.64 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005457/0.3783, allocations: 326.2 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.3806, allocations: 1.509 MB / 1.339 GB, free: 4.734 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.381, allocations: 162.6 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.3813, allocations: 100.8 kB / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.3813, allocations: 0 / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.3813, allocations: 34.56 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.3813, allocations: 0 / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0006282/0.3819, allocations: 222.5 kB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.382, allocations: 59.41 kB / 1.339 GB, free: 4.125 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.3822, allocations: 228 kB / 1.34 GB, free: 3.895 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.3823, allocations: 29.7 kB / 1.34 GB, free: 3.859 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.3824, allocations: 216.1 kB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.3825, allocations: 51.59 kB / 1.34 GB, free: 3.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/0.3826, allocations: 45.94 kB / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3827, allocations: 338.8 kB / 1.34 GB, free: 3.195 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.3829, allocations: 52.44 kB / 1.34 GB, free: 3.145 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.383, allocations: 152.9 kB / 1.34 GB, free: 2.957 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.3833, allocations: 213.2 kB / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3833, allocations: 0 / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004573/0.3838, allocations: 266 kB / 1.341 GB, free: 2.441 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3838, allocations: 4 kB / 1.341 GB, free: 2.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.3838, allocations: 4.375 kB / 1.341 GB, free: 2.434 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.384, allocations: 32.84 kB / 1.341 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.3842, allocations: 47.91 kB / 1.341 GB, free: 2.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.3854, allocations: 1.292 MB / 1.342 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.3856, allocations: 27.78 kB / 1.342 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.3856, allocations: 12.16 kB / 1.342 GB, free: 0.9219 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.0001878/0.3858, allocations: 165.8 kB / 1.342 GB, free: 0.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.3858, allocations: 23.84 kB / 1.342 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/0.3859, allocations: 25.45 kB / 1.343 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3859, allocations: 4 kB / 1.343 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.3859, allocations: 0 / 1.343 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3859, allocations: 0 / 1.343 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009299/0.3868, allocations: 0.5661 MB / 1.343 GB, free: 72 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3868, allocations: 4 kB / 1.343 GB, free: 68 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.234e-05/0.3869, allocations: 20.05 kB / 1.343 GB, free: 48 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.582e-05/0.387, allocations: 28.84 kB / 1.343 GB, free: 16 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.387, allocations: 4 kB / 1.343 GB, free: 12 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.3882, allocations: 1.292 MB / 1.344 GB, free: 14.62 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3882, allocations: 3.938 kB / 1.344 GB, free: 14.62 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.3886, allocations: 322.9 kB / 1.345 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.3887, allocations: 27.89 kB / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.3887, allocations: 0 / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.3889, allocations: 12 kB / 1.345 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.3889, allocations: 19.97 kB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3889, allocations: 8.031 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001562/0.3891, allocations: 161.6 kB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3891, allocations: 0 / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003964/0.3895, allocations: 83.78 kB / 1.345 GB, free: 13.96 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.0001162/0.3896, allocations: 108.1 kB / 1.345 GB, free: 13.85 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.3901, allocations: 274.9 kB / 1.345 GB, free: 13.57 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3901, allocations: 0 / 1.345 GB, free: 13.57 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.3903, allocations: 178.5 kB / 1.346 GB, free: 13.38 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.3908, allocations: 53.25 kB / 1.346 GB, free: 13.33 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009648/0.3918, allocations: 0.5546 MB / 1.346 GB, free: 12.73 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.392, allocations: 182.1 kB / 1.346 GB, free: 12.54 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000131/0.3921, allocations: 41.91 kB / 1.346 GB, free: 12.49 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.035e-05/0.3922, allocations: 19.44 kB / 1.346 GB, free: 12.47 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.3922, allocations: 288 / 1.346 GB, free: 12.47 MB / 1.045 GB Notification: Performance of Templates: time 0.006939/0.3991, allocations: 2.859 MB / 1.349 GB, free: 9.664 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 -s gbode -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.16987750500266]