Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 489.7 MB / 0.7761 GB, free: 2.41 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002582/0.002582, allocations: 63.89 kB / 1.127 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.136, allocations: 172 MB / 1.295 GB, free: 38.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004535/1.14, allocations: 3.889 MB / 1.299 GB, free: 36.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002258/1.143, allocations: 1.751 MB / 1.3 GB, free: 34.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/1.143, allocations: 11.84 kB / 1.3 GB, free: 34.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/1.144, allocations: 0.4944 MB / 1.301 GB, free: 34.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004097/1.144, allocations: 217 kB / 1.301 GB, free: 34.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/1.145, allocations: 219.5 kB / 1.301 GB, free: 34.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004161/1.145, allocations: 480.9 kB / 1.302 GB, free: 34.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/1.146, allocations: 290.6 kB / 1.302 GB, free: 33.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/1.146, allocations: 192.7 kB / 1.302 GB, free: 33.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/1.146, allocations: 228.1 kB / 1.302 GB, free: 33.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/1.146, allocations: 28.44 kB / 1.302 GB, free: 33.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/1.147, allocations: 258.8 kB / 1.303 GB, free: 33.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/1.147, allocations: 135.1 kB / 1.303 GB, free: 33.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/1.147, allocations: 170.2 kB / 1.303 GB, free: 33.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004817/1.147, allocations: 0.4983 MB / 1.303 GB, free: 33.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.147, allocations: 0 / 1.303 GB, free: 33.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/1.147, allocations: 0 / 1.303 GB, free: 33.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.853e-06/1.147, allocations: 0 / 1.303 GB, free: 33.37 MB / 1.061 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.0008508/1.148, allocations: 0.6474 MB / 1.304 GB, free: 32.83 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/1.148, allocations: 11.81 kB / 1.304 GB, free: 32.83 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008428/1.149, allocations: 129.9 kB / 1.304 GB, free: 32.81 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/1.149, allocations: 300.6 kB / 1.304 GB, free: 32.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/1.149, allocations: 25.73 kB / 1.305 GB, free: 32.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/1.149, allocations: 27.28 kB / 1.305 GB, free: 32.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/1.15, allocations: 471.5 kB / 1.305 GB, free: 32.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/1.15, allocations: 0 / 1.305 GB, free: 32.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/1.15, allocations: 13.38 kB / 1.305 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-05/1.15, allocations: 28.61 kB / 1.305 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/1.15, allocations: 322 kB / 1.305 GB, free: 32.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/1.152, allocations: 2.184 MB / 1.307 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/1.152, allocations: 244.6 kB / 1.308 GB, free: 30.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/1.153, allocations: 102.9 kB / 1.308 GB, free: 30.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/1.153, allocations: 2.781 kB / 1.308 GB, free: 30.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/1.153, allocations: 30.56 kB / 1.308 GB, free: 29.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/1.153, allocations: 0 / 1.308 GB, free: 29.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0005277/1.153, allocations: 308.8 kB / 1.308 GB, free: 29.78 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/1.153, allocations: 54.34 kB / 1.308 GB, free: 29.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/1.153, allocations: 270.4 kB / 1.308 GB, free: 29.55 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/1.153, allocations: 28.55 kB / 1.308 GB, free: 29.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/1.153, allocations: 206.4 kB / 1.309 GB, free: 29.35 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/1.153, allocations: 51.88 kB / 1.309 GB, free: 29.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/1.154, allocations: 52.88 kB / 1.309 GB, free: 29.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.835e-05/1.154, allocations: 338.8 kB / 1.309 GB, free: 28.94 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/1.154, allocations: 56.02 kB / 1.309 GB, free: 28.92 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/1.154, allocations: 146.3 kB / 1.309 GB, free: 28.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/1.154, allocations: 224.3 kB / 1.309 GB, free: 28.62 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.154, allocations: 2.844 kB / 1.309 GB, free: 28.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003377/1.154, allocations: 254.1 kB / 1.31 GB, free: 28.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/1.154, allocations: 9.234 kB / 1.31 GB, free: 28.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.154, allocations: 2.906 kB / 1.31 GB, free: 28.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/1.154, allocations: 26.95 kB / 1.31 GB, free: 28.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/1.155, allocations: 51.36 kB / 1.31 GB, free: 28.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007539/1.155, allocations: 1.424 MB / 1.311 GB, free: 27.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/1.156, allocations: 32.22 kB / 1.311 GB, free: 27.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/1.156, allocations: 8 kB / 1.311 GB, free: 27.03 MB / 1.061 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.0001132/1.156, allocations: 174.3 kB / 1.311 GB, free: 26.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/1.156, allocations: 25.55 kB / 1.311 GB, free: 26.87 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/1.156, allocations: 30.58 kB / 1.311 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/1.156, allocations: 2.781 kB / 1.311 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/1.156, allocations: 0 / 1.311 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.156, allocations: 0 / 1.311 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006936/1.156, allocations: 0.6992 MB / 1.312 GB, free: 26.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/1.156, allocations: 2.844 kB / 1.312 GB, free: 26.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.281e-05/1.157, allocations: 27.02 kB / 1.312 GB, free: 26.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-05/1.157, allocations: 31.75 kB / 1.312 GB, free: 26.28 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/1.157, allocations: 3.219 kB / 1.312 GB, free: 26.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006432/1.157, allocations: 1.415 MB / 1.314 GB, free: 24.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.157, allocations: 7 kB / 1.314 GB, free: 24.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/1.158, allocations: 315.4 kB / 1.314 GB, free: 24.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.82e-05/1.158, allocations: 114.2 kB / 1.314 GB, free: 24.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/1.158, allocations: 6.625 kB / 1.314 GB, free: 24.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/1.158, allocations: 15.75 kB / 1.314 GB, free: 24.49 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/1.158, allocations: 20.83 kB / 1.314 GB, free: 24.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/1.158, allocations: 9.844 kB / 1.314 GB, free: 24.47 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001399/1.158, allocations: 191.8 kB / 1.314 GB, free: 24.36 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.158, allocations: 0 / 1.314 GB, free: 24.36 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003698/1.158, allocations: 83.16 kB / 1.314 GB, free: 24.34 MB / 1.061 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 9.864e-05/1.158, allocations: 105.1 kB / 1.314 GB, free: 24.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003824/1.159, allocations: 267.8 kB / 1.315 GB, free: 24.08 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.159, allocations: 0 / 1.315 GB, free: 24.08 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/1.159, allocations: 178.6 kB / 1.315 GB, free: 23.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/1.159, allocations: 60.97 kB / 1.315 GB, free: 23.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/1.16, allocations: 0.5936 MB / 1.315 GB, free: 23.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/1.16, allocations: 0.7959 MB / 1.316 GB, free: 22.81 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/1.16, allocations: 21.56 kB / 1.316 GB, free: 22.8 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.16, allocations: 0 / 1.316 GB, free: 22.8 MB / 1.061 GB Notification: Performance of Templates: time 0.005555/1.166, allocations: 4.435 MB / 1.321 GB, free: 22.42 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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