Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 110.6 kB / 16.46 MB, free: 6.035 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.001253/0.001253, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.511/2.511, allocations: 443.5 MB / 0.7287 GB, free: 13.4 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 71.91 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8069/0.809, allocations: 160.7 MB / 1.213 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.00413/0.8131, allocations: 2.472 MB / 1.215 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.8141, allocations: 0.5353 MB / 1.216 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.8143, allocations: 4 kB / 1.216 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.8147, allocations: 135.4 kB / 1.216 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.8149, allocations: 95.27 kB / 1.216 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.8151, allocations: 43.95 kB / 1.216 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.8154, allocations: 234.8 kB / 1.216 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.8156, allocations: 79.12 kB / 1.216 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.8157, allocations: 87.61 kB / 1.217 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.8159, allocations: 99.5 kB / 1.217 GB, free: 1.66 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.816, allocations: 24 kB / 1.217 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.523e-05/0.816, allocations: 20 kB / 1.217 GB, free: 1.617 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.8161, allocations: 79.69 kB / 1.217 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.8163, allocations: 158.9 kB / 1.217 GB, free: 1.383 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.8167, allocations: 340.3 kB / 1.217 GB, free: 1.051 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.8167, allocations: 4 kB / 1.217 GB, free: 1.047 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8167, allocations: 0 / 1.217 GB, free: 1.047 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.8167, allocations: 0 / 1.217 GB, free: 1.047 MB / 0.92 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.0009822/0.8177, allocations: 0.6571 MB / 1.218 GB, free: 344 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.8177, allocations: 8.922 kB / 1.218 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.645e-05/0.8178, allocations: 54.73 kB / 1.218 GB, free: 272 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/0.8179, allocations: 44.66 kB / 1.218 GB, free: 228 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004535/0.8183, allocations: 306.5 kB / 1.218 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.8183, allocations: 12.38 kB / 1.218 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.8184, allocations: 16.38 kB / 1.218 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.8187, allocations: 135.5 kB / 1.218 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.8187, allocations: 15.94 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.8187, allocations: 7.938 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.8187, allocations: 7.984 kB / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.819, allocations: 87.95 kB / 1.219 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009445/0.8199, allocations: 0.5859 MB / 1.219 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.8202, allocations: 90.61 kB / 1.219 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.8203, allocations: 44.88 kB / 1.219 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.8203, allocations: 0 / 1.219 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.8203, allocations: 34.5 kB / 1.219 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.8203, allocations: 0 / 1.219 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.000388/0.8207, allocations: 153.3 kB / 1.219 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.8208, allocations: 55.41 kB / 1.219 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/0.8212, allocations: 390 kB / 1.22 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.8212, allocations: 25.7 kB / 1.22 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.8214, allocations: 220.1 kB / 1.22 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.8214, allocations: 35.73 kB / 1.22 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.8215, allocations: 21.72 kB / 1.22 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.8216, allocations: 354.7 kB / 1.22 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.8217, allocations: 27.98 kB / 1.22 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.8218, allocations: 55.42 kB / 1.221 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.822, allocations: 91.36 kB / 1.221 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.822, allocations: 4 kB / 1.221 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003214/0.8223, allocations: 145.3 kB / 1.221 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.8224, allocations: 6.5 kB / 1.221 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.8224, allocations: 4 kB / 1.221 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.8224, allocations: 0 / 1.221 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.8225, allocations: 27.92 kB / 1.221 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.8225, allocations: 0 / 1.221 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.951e-05/0.8226, allocations: 15.98 kB / 1.221 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.8226, allocations: 11.94 kB / 1.221 GB, free: 13.09 MB / 0.9356 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.0002453/0.8229, allocations: 165.8 kB / 1.221 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.8229, allocations: 36.23 kB / 1.221 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.449e-05/0.823, allocations: 35.22 kB / 1.221 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.823, allocations: 0 / 1.221 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.823, allocations: 4 kB / 1.221 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.823, allocations: 0 / 1.221 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004172/0.8234, allocations: 309.4 kB / 1.221 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8234, allocations: 4 kB / 1.221 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.8235, allocations: 23.92 kB / 1.221 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8235, allocations: 0 / 1.221 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.8236, allocations: 4 kB / 1.221 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.8236, allocations: 0 / 1.221 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8236, allocations: 0 / 1.221 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.8239, allocations: 263.1 kB / 1.222 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.8241, allocations: 113 kB / 1.222 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.8241, allocations: 8 kB / 1.222 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-05/0.8242, allocations: 4 kB / 1.222 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.8242, allocations: 7.984 kB / 1.222 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.8242, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002959/0.8245, allocations: 287.1 kB / 1.222 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8245, allocations: 3.938 kB / 1.222 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002785/0.8248, allocations: 43.89 kB / 1.222 GB, free: 11.71 MB / 0.9356 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.0008046/0.8256, allocations: 0.7943 MB / 1.223 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.8259, allocations: 75.97 kB / 1.223 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8259, allocations: 0 / 1.223 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.702e-05/0.8259, allocations: 28 kB / 1.223 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.8263, allocations: 29.8 kB / 1.223 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.8298, allocations: 2.714 MB / 1.226 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.8303, allocations: 0.8027 MB / 1.226 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.779e-05/0.8304, allocations: 16.62 kB / 1.226 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.8305, allocations: 103.4 kB / 1.227 GB, free: 7 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.8305, allocations: 0 / 1.227 GB, free: 7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.8601, allocations: 4.965 MB / 1.231 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/9.341, allocations: 13.47 kB / 1.231 GB, free: 2.176 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.049272588919848]