Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.001621, allocations: 115.6 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 192.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 61.45 kB / 0.814 GB, free: 32.8 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3053, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004722/0.3101, allocations: 2.447 MB / 0.9535 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3113, allocations: 0.5315 MB / 0.954 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.3115, allocations: 4 kB / 0.954 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.3119, allocations: 132.4 kB / 0.9542 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.3122, allocations: 91.28 kB / 0.9542 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.3123, allocations: 43.94 kB / 0.9543 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.3126, allocations: 246.7 kB / 0.9545 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.3128, allocations: 115 kB / 0.9546 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.313, allocations: 87.64 kB / 0.9547 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.3131, allocations: 95.5 kB / 0.9548 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.568e-05/0.3132, allocations: 20 kB / 0.9548 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.031e-05/0.3132, allocations: 20 kB / 0.9548 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.797e-05/0.3133, allocations: 83.69 kB / 0.9549 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.3135, allocations: 155 kB / 0.9551 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.3138, allocations: 342.6 kB / 0.9554 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3138, allocations: 0 / 0.9554 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3138, allocations: 0 / 0.9554 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.3139, allocations: 3.938 kB / 0.9554 GB, free: 3.68 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009055/0.3148, allocations: 0.6416 MB / 0.956 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3148, allocations: 8.031 kB / 0.956 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.487e-05/0.3149, allocations: 48.47 kB / 0.9561 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.3153, allocations: 310.1 kB / 0.9564 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.3153, allocations: 12.38 kB / 0.9564 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.3154, allocations: 12.38 kB / 0.9564 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.3156, allocations: 141.7 kB / 0.9565 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3157, allocations: 192 / 0.9565 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.3157, allocations: 11.94 kB / 0.9566 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3157, allocations: 4 kB / 0.9566 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.3159, allocations: 99.89 kB / 0.9567 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008234/0.3168, allocations: 0.5741 MB / 0.9572 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.317, allocations: 90.48 kB / 0.9573 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3172, allocations: 52.95 kB / 0.9573 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.3172, allocations: 0 / 0.9573 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3172, allocations: 30.56 kB / 0.9574 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.3172, allocations: 3.938 kB / 0.9574 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0003522/0.3176, allocations: 145.2 kB / 0.9575 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.3176, allocations: 55.39 kB / 0.9576 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.318, allocations: 389.9 kB / 0.9579 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3181, allocations: 29.7 kB / 0.958 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.3182, allocations: 224 kB / 0.9582 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.3182, allocations: 35.48 kB / 0.9582 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.3183, allocations: 29.72 kB / 0.9582 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3184, allocations: 346.7 kB / 0.9586 GB, free: 212 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.3185, allocations: 31.98 kB / 0.9586 GB, free: 180 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.684e-05/0.3186, allocations: 51.42 kB / 0.9587 GB, free: 116 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.3188, allocations: 91.67 kB / 0.9587 GB, free: 12 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3188, allocations: 4 kB / 0.9588 GB, free: 8 kB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002521/0.3191, allocations: 149.1 kB / 0.9589 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3191, allocations: 4 kB / 0.9589 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3191, allocations: 4 kB / 0.9589 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3191, allocations: 3.984 kB / 0.9589 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3192, allocations: 20 kB / 0.9589 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3192, allocations: 0 / 0.9589 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.387e-05/0.3193, allocations: 15.92 kB / 0.9589 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3193, allocations: 4 kB / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.3195, allocations: 171.7 kB / 0.9591 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.3196, allocations: 43.52 kB / 0.9591 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.699e-05/0.3196, allocations: 39.2 kB / 0.9592 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3196, allocations: 4 kB / 0.9592 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3197, allocations: 0 / 0.9592 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3197, allocations: 0 / 0.9592 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.3199, allocations: 305.5 kB / 0.9595 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.32, allocations: 0 / 0.9595 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.3201, allocations: 16 kB / 0.9595 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.3201, allocations: 3.984 kB / 0.9595 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3201, allocations: 4 kB / 0.9595 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3201, allocations: 8 kB / 0.9595 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3201, allocations: 0 / 0.9595 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.3204, allocations: 255.1 kB / 0.9598 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.3205, allocations: 112.7 kB / 0.9599 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.3206, allocations: 15.88 kB / 0.9599 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.3207, allocations: 0 / 0.9599 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.3207, allocations: 8.047 kB / 0.9599 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.3207, allocations: 4 kB / 0.9599 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002387/0.321, allocations: 283.1 kB / 0.9602 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.321, allocations: 0 / 0.9602 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002677/0.3212, allocations: 51.78 kB / 0.9602 GB, free: 14.41 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001158/0.3214, allocations: 95.25 kB / 0.9603 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.3216, allocations: 75.91 kB / 0.9604 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3216, allocations: 4.188 kB / 0.9604 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.3217, allocations: 35.92 kB / 0.9604 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.322, allocations: 25.55 kB / 0.9604 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.3231, allocations: 0.6414 MB / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.3237, allocations: 0.798 MB / 0.9618 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.669e-05/0.3237, allocations: 16.64 kB / 0.9619 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.3238, allocations: 11.44 kB / 0.9619 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.3238, allocations: 0 / 0.9619 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of Templates: time 0.004716/0.3285, allocations: 1.275 MB / 0.9631 GB, free: 11.39 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches