Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.001617/0.001617, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001856/0.001856, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.992 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.447/3.447, allocations: 0.49 GB / 0.7951 GB, free: 33.4 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) [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.002218/0.002218, allocations: 68 kB / 1.154 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4128, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.00485/0.4176, allocations: 2.492 MB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.4189, allocations: 0.5509 MB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.4191, allocations: 4 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005555/0.4197, allocations: 131.5 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.42, allocations: 91.27 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.4202, allocations: 43.95 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.4206, allocations: 238.7 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.4208, allocations: 88.12 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.421, allocations: 83.61 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.4212, allocations: 95.56 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.12e-05/0.4213, allocations: 20 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.869e-05/0.4213, allocations: 20 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.4214, allocations: 87.62 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.4216, allocations: 151 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004889/0.4221, allocations: 342.3 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.4221, allocations: 7.938 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4221, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.4221, allocations: 0 / 1.33 GB, free: 13.48 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001116/0.4233, allocations: 0.5856 MB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.4233, allocations: 8.031 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.739e-05/0.4234, allocations: 50.73 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.794e-05/0.4235, allocations: 44.66 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.4239, allocations: 248.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.4239, allocations: 20.31 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.424, allocations: 16.38 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.4243, allocations: 134.6 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.4243, allocations: 7.938 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.4244, allocations: 8 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.4244, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.4247, allocations: 95.64 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.4258, allocations: 0.5614 MB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.4261, allocations: 74.62 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.4262, allocations: 44.89 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.4262, allocations: 3.984 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.4262, allocations: 38.56 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 2.374e-06/0.4262, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004326/0.4267, allocations: 145.4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.4267, allocations: 51.41 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005144/0.4272, allocations: 393.9 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.4273, allocations: 25.7 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.4275, allocations: 220.1 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.4275, allocations: 31.7 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-05/0.4276, allocations: 33.7 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.4278, allocations: 350.7 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.4279, allocations: 28 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.428, allocations: 55.41 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.4282, allocations: 103.7 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4282, allocations: 0 / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003235/0.4285, allocations: 145.3 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.4285, allocations: 8 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.4286, allocations: 0 / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4286, allocations: 96 / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.4287, allocations: 27.98 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4287, allocations: 4 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.4288, allocations: 11.89 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.4288, allocations: 11.94 kB / 1.334 GB, free: 9.719 MB / 1.029 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.0002297/0.4291, allocations: 157.8 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.4291, allocations: 43.69 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.664e-05/0.4292, allocations: 39.22 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4292, allocations: 0 / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4292, allocations: 4 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4292, allocations: 0 / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.4297, allocations: 284.5 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4297, allocations: 0 / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.4298, allocations: 19.98 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4299, allocations: 0 / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.4299, allocations: 4 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.4299, allocations: 3.938 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4299, allocations: 0 / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.4303, allocations: 267.2 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.445e-05/0.4304, allocations: 31.77 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.4304, allocations: 7.984 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.4305, allocations: 4 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.4306, allocations: 3.984 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.4306, allocations: 4 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003544/0.431, allocations: 279.1 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.431, allocations: 0 / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000307/0.4313, allocations: 47.95 kB / 1.335 GB, free: 8.473 MB / 1.029 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.0007898/0.432, allocations: 0.7942 MB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.4323, allocations: 68.11 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4323, allocations: 4 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.4324, allocations: 27.98 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.4328, allocations: 30.2 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.437, allocations: 2.728 MB / 1.338 GB, free: 4.703 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.4375, allocations: 0.8019 MB / 1.339 GB, free: 3.875 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.664e-05/0.4376, allocations: 12.64 kB / 1.339 GB, free: 3.863 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.4378, allocations: 103.4 kB / 1.339 GB, free: 3.762 MB / 1.029 GB Notification: Performance of SimCode: time 1.482e-06/0.4378, allocations: 0 / 1.339 GB, free: 3.762 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04013/0.4779, allocations: 5.122 MB / 1.344 GB, free: 14.8 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.28, allocations: 8.75 kB / 1.344 GB, free: 14.8 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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: 19.52692817687057]