Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002311/0.002311, allocations: 189.8 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.95/2.95, allocations: 476.7 MB / 0.7646 GB, free: 9.898 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002874/0.002874, allocations: 63.89 kB / 1.11 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.139, allocations: 168.8 MB / 1.274 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.007068/1.146, allocations: 3.992 MB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003678/1.15, allocations: 1.792 MB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/1.15, allocations: 11.94 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/1.152, allocations: 0.5058 MB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007868/1.152, allocations: 226.9 kB / 1.281 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006241/1.153, allocations: 211.5 kB / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007261/1.154, allocations: 474.4 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007844/1.155, allocations: 265.3 kB / 1.282 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/1.155, allocations: 199.4 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/1.155, allocations: 235.1 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/1.155, allocations: 28 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/1.156, allocations: 247.5 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/1.156, allocations: 139.6 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/1.156, allocations: 171.2 kB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006956/1.157, allocations: 0.5007 MB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.157, allocations: 0 / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.833e-06/1.157, allocations: 4 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.774e-06/1.157, allocations: 0 / 1.283 GB, free: 11.24 MB / 0.9825 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.001191/1.158, allocations: 0.5635 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.158, allocations: 8.031 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009705/1.159, allocations: 136.6 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007066/1.16, allocations: 241.9 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/1.16, allocations: 24.97 kB / 1.284 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/1.16, allocations: 28.36 kB / 1.284 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007929/1.161, allocations: 459.8 kB / 1.284 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/1.161, allocations: 3.938 kB / 1.284 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/1.161, allocations: 15.98 kB / 1.284 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-05/1.161, allocations: 36.62 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/1.161, allocations: 318.3 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/1.164, allocations: 2.143 MB / 1.287 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/1.165, allocations: 158.7 kB / 1.287 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/1.165, allocations: 96.8 kB / 1.287 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/1.165, allocations: 0 / 1.287 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/1.165, allocations: 38.56 kB / 1.287 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/1.165, allocations: 0 / 1.287 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0008059/1.166, allocations: 229.1 kB / 1.287 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/1.166, allocations: 59.41 kB / 1.287 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004446/1.166, allocations: 261.8 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/1.166, allocations: 37.7 kB / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/1.167, allocations: 212.2 kB / 1.288 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.125e-05/1.167, allocations: 55.53 kB / 1.288 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.363e-05/1.167, allocations: 49.88 kB / 1.288 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.167, allocations: 334.8 kB / 1.288 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/1.167, allocations: 56.42 kB / 1.288 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/1.167, allocations: 152.9 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/1.168, allocations: 211 kB / 1.289 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/1.168, allocations: 4 kB / 1.289 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004432/1.168, allocations: 264.8 kB / 1.289 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.168, allocations: 8 kB / 1.289 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.168, allocations: 384 / 1.289 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/1.168, allocations: 32.84 kB / 1.289 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/1.169, allocations: 47.91 kB / 1.289 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/1.17, allocations: 1.334 MB / 1.29 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/1.17, allocations: 31.73 kB / 1.29 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/1.17, allocations: 8 kB / 1.29 GB, free: 3.09 MB / 0.9825 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.0004405/1.17, allocations: 166.3 kB / 1.291 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/1.171, allocations: 31.86 kB / 1.291 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.137e-05/1.171, allocations: 29.77 kB / 1.291 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/1.171, allocations: 0 / 1.291 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/1.171, allocations: 96 / 1.291 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.171, allocations: 7.938 kB / 1.291 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/1.172, allocations: 0.6703 MB / 1.291 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.172, allocations: 4 kB / 1.291 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/1.172, allocations: 23.92 kB / 1.291 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-05/1.172, allocations: 28.78 kB / 1.291 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/1.172, allocations: 4 kB / 1.291 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/1.173, allocations: 1.311 MB / 1.293 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.173, allocations: 4.031 kB / 1.293 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006287/1.174, allocations: 317.2 kB / 1.293 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/1.174, allocations: 43.8 kB / 1.293 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/1.174, allocations: 0 / 1.293 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/1.174, allocations: 19.98 kB / 1.293 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/1.174, allocations: 15.91 kB / 1.293 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/1.174, allocations: 8 kB / 1.293 GB, free: 168 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002236/1.174, allocations: 193.2 kB / 1.293 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.174, allocations: 3.938 kB / 1.293 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004407/1.175, allocations: 75.89 kB / 1.293 GB, free: 15.89 MB / 0.9981 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.0001396/1.175, allocations: 109.4 kB / 1.293 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00053/1.176, allocations: 266.8 kB / 1.294 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.176, allocations: 0 / 1.294 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002775/1.176, allocations: 182.5 kB / 1.294 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000669/1.177, allocations: 63.83 kB / 1.294 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/1.178, allocations: 0.5436 MB / 1.294 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/1.178, allocations: 0.7948 MB / 1.295 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001481/1.179, allocations: 38.27 kB / 1.295 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/1.179, allocations: 23.44 kB / 1.295 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/1.179, allocations: 0 / 1.295 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of Templates: time 0.007874/1.186, allocations: 2.858 MB / 1.298 GB, free: 10.96 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.874710964038968]