Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",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.007701/0.007701, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.002165/0.002166, allocations: 193.7 kB / 16.67 MB, free: 5.934 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.225/1.225, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.21/2.21, allocations: 437.1 MB / 0.7106 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 71.88 kB / 1.018 GB, free: 9.801 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6/0.6016, allocations: 151.6 MB / 1.166 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002829/0.6045, allocations: 2.057 MB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002894/0.6074, allocations: 2.593 MB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.6075, allocations: 3.938 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.6085, allocations: 0.5053 MB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.6087, allocations: 71.53 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/0.6093, allocations: 278.2 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003653/0.6097, allocations: 332 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.6098, allocations: 89.06 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.6099, allocations: 107.4 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.6101, allocations: 131.2 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.6101, allocations: 8 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000445/0.6106, allocations: 323.5 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.6107, allocations: 103.5 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.6109, allocations: 218.5 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007693/0.6117, allocations: 0.8287 MB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.6117, allocations: 0 / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6117, allocations: 0 / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.6117, allocations: 0 / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009109/0.6126, allocations: 0.895 MB / 1.175 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.6126, allocations: 8.922 kB / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.6127, allocations: 46.73 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.124e-05/0.6128, allocations: 68.52 kB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.6132, allocations: 400.9 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.6132, allocations: 4.375 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.6132, allocations: 12.38 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.6134, allocations: 126.9 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.6134, allocations: 0 / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.6134, allocations: 4 kB / 1.175 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6134, allocations: 4 kB / 1.175 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.6136, allocations: 103.8 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006643/0.6143, allocations: 0.555 MB / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.6144, allocations: 106.5 kB / 1.176 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.6145, allocations: 57.17 kB / 1.176 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.6146, allocations: 11.92 kB / 1.176 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.6147, allocations: 133.1 kB / 1.176 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.6147, allocations: 3.938 kB / 1.176 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0004206/0.6152, allocations: 314.9 kB / 1.176 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.6152, allocations: 85.09 kB / 1.176 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008112/0.616, allocations: 0.7973 MB / 1.177 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.6161, allocations: 25.7 kB / 1.177 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.6163, allocations: 284.3 kB / 1.178 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.6163, allocations: 31.73 kB / 1.178 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.6164, allocations: 29.7 kB / 1.178 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.6165, allocations: 314 kB / 1.178 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.6166, allocations: 43.97 kB / 1.178 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-05/0.6167, allocations: 43.98 kB / 1.178 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.6168, allocations: 164.2 kB / 1.178 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6168, allocations: 0 / 1.178 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002937/0.6171, allocations: 274.8 kB / 1.178 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.6172, allocations: 37.7 kB / 1.178 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6172, allocations: 3.984 kB / 1.178 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.6172, allocations: 0 / 1.178 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.6172, allocations: 8 kB / 1.178 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-06/0.6173, allocations: 4 kB / 1.178 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.679e-05/0.6174, allocations: 7.953 kB / 1.178 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.6174, allocations: 7.938 kB / 1.178 GB, free: 6.84 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0002883/0.6177, allocations: 337.6 kB / 1.179 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.6177, allocations: 71.52 kB / 1.179 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.6182, allocations: 304.9 kB / 1.179 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.6182, allocations: 4 kB / 1.179 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.6182, allocations: 0 / 1.179 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.6182, allocations: 0 / 1.179 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.6185, allocations: 385.3 kB / 1.18 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.6185, allocations: 0 / 1.18 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.6186, allocations: 8 kB / 1.18 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.6186, allocations: 0 / 1.18 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.6186, allocations: 7.984 kB / 1.18 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.6186, allocations: 0 / 1.18 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.6186, allocations: 0 / 1.18 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.619, allocations: 326.5 kB / 1.18 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.6191, allocations: 148.7 kB / 1.18 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.6191, allocations: 4.188 kB / 1.18 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.469e-05/0.6192, allocations: 11.98 kB / 1.18 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.6193, allocations: 8 kB / 1.18 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.6193, allocations: 4 kB / 1.18 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006055/0.6199, allocations: 0.5848 MB / 1.181 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6199, allocations: 0 / 1.181 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003143/0.6202, allocations: 127.8 kB / 1.181 GB, free: 4.426 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0008104/0.621, allocations: 0.9375 MB / 1.182 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.6213, allocations: 215.3 kB / 1.182 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.6213, allocations: 0 / 1.182 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.6215, allocations: 139.4 kB / 1.182 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.6219, allocations: 135.4 kB / 1.182 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004735/0.6267, allocations: 4.676 MB / 1.187 GB, free: 14.17 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.6272, allocations: 0.9743 MB / 1.188 GB, free: 13.17 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.873e-05/0.6273, allocations: 25.94 kB / 1.188 GB, free: 13.14 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.6275, allocations: 167.4 kB / 1.188 GB, free: 12.98 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.6275, allocations: 4 kB / 1.188 GB, free: 12.98 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.981/1.608, allocations: 12.06 MB / 1.2 GB, free: 1.164 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/17.11, allocations: 3.219 kB / 1.2 GB, free: 1.164 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches