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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004792/0.004792, allocations: 103.5 kB / 15.73 MB, free: 6.035 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.001229/0.001229, allocations: 197.5 kB / 16.67 MB, free: 5.969 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.3 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 58.66 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2369, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003303/0.2403, allocations: 2.435 MB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006765/0.241, allocations: 0.5393 MB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.3e-05/0.241, allocations: 4 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.2414, allocations: 131.2 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.2415, allocations: 95.27 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.036e-05/0.2416, allocations: 39.95 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.2418, allocations: 242.7 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.242, allocations: 107.1 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.639e-05/0.2421, allocations: 83.66 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.2422, allocations: 103.5 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.2423, allocations: 16 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.11e-05/0.2423, allocations: 20 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.2424, allocations: 87.67 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.2425, allocations: 151 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.2428, allocations: 339.5 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2428, allocations: 3.938 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2428, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2428, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 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.0006997/0.2435, allocations: 0.6531 MB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.2435, allocations: 12.03 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.2436, allocations: 50.73 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.2436, allocations: 44.38 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.244, allocations: 302.2 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.244, allocations: 12.38 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.244, allocations: 16.38 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.2443, allocations: 138 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2443, allocations: 3.938 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.2443, allocations: 4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2443, allocations: 7.938 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.2445, allocations: 99.7 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006759/0.2452, allocations: 0.5819 MB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.2454, allocations: 94.53 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.2455, allocations: 44.89 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.2455, allocations: 7.938 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.2456, allocations: 30.56 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.2456, allocations: 0 / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0003147/0.2459, allocations: 149.1 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.2459, allocations: 59.39 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.2463, allocations: 382 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2463, allocations: 29.7 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.2464, allocations: 212 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.2464, allocations: 31.55 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.2465, allocations: 29.62 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2466, allocations: 358.7 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/0.2467, allocations: 31.92 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/0.2468, allocations: 57.3 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.2469, allocations: 87.36 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2469, allocations: 0 / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002254/0.2472, allocations: 153.5 kB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.2472, allocations: 4 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2472, allocations: 0 / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2472, allocations: 4 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.2473, allocations: 23.98 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.2473, allocations: 0 / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/0.2474, allocations: 19.92 kB / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.2474, allocations: 7.938 kB / 1.095 GB, free: 9.641 MB / 0.8575 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.0001249/0.2476, allocations: 161.8 kB / 1.096 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.2476, allocations: 31.62 kB / 1.096 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.2477, allocations: 43.2 kB / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2477, allocations: 0 / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2477, allocations: 0 / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.2477, allocations: 0 / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.248, allocations: 317.4 kB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.248, allocations: 4 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.2481, allocations: 16 kB / 1.096 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2481, allocations: 3.984 kB / 1.096 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.2481, allocations: 4 kB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2481, allocations: 0 / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2481, allocations: 0 / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.2485, allocations: 259 kB / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.073e-05/0.2485, allocations: 116.6 kB / 1.096 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.2486, allocations: 0 / 1.096 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.2487, allocations: 7.938 kB / 1.096 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.2487, allocations: 7.984 kB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.2487, allocations: 4 kB / 1.096 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002415/0.249, allocations: 283.1 kB / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.249, allocations: 0 / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002586/0.2492, allocations: 39.91 kB / 1.097 GB, free: 8.27 MB / 0.8575 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.0005425/0.2498, allocations: 0.7947 MB / 1.097 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.25, allocations: 71.91 kB / 1.097 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.25, allocations: 0 / 1.097 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.2501, allocations: 36.17 kB / 1.097 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.2504, allocations: 29.56 kB / 1.098 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.2531, allocations: 2.705 MB / 1.1 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.2534, allocations: 0.7981 MB / 1.101 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.934e-05/0.2535, allocations: 17.11 kB / 1.101 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.2536, allocations: 95.41 kB / 1.101 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.2536, allocations: 0 / 1.101 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.911/2.165, allocations: 4.954 MB / 1.106 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/13.59, allocations: 9.062 kB / 1.106 GB, free: 14.76 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > 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