Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 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.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_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.001461/0.001461, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.153/2.153, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4946, allocations: 140.4 MB / 0.9497 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002469/0.4971, allocations: 1.973 MB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.4992, allocations: 2.51 MB / 0.9541 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.4993, allocations: 2.844 kB / 0.9541 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008786/0.5002, allocations: 481.9 kB / 0.9546 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.5003, allocations: 50.5 kB / 0.9546 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.5009, allocations: 273.9 kB / 0.9549 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.5011, allocations: 316.4 kB / 0.9552 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.5013, allocations: 100.1 kB / 0.9553 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.309e-05/0.5014, allocations: 103 kB / 0.9554 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.5015, allocations: 126.9 kB / 0.9555 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.5016, allocations: 8.094 kB / 0.9555 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.5019, allocations: 318.9 kB / 0.9558 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.694e-05/0.502, allocations: 92.69 kB / 0.9559 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.5021, allocations: 201.3 kB / 0.9561 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005094/0.5026, allocations: 0.7775 MB / 0.9569 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5026, allocations: 0 / 0.9569 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5026, allocations: 1.25 kB / 0.9569 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.5027, allocations: 0 / 0.9569 GB, free: 3.809 MB / 0.7169 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.0006682/0.5033, allocations: 0.8358 MB / 0.9577 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.5034, allocations: 9.562 kB / 0.9577 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.849e-05/0.5034, allocations: 45.73 kB / 0.9577 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.5035, allocations: 60.53 kB / 0.9578 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.5037, allocations: 361 kB / 0.9581 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.5037, allocations: 3.688 kB / 0.9581 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.5038, allocations: 13.66 kB / 0.9581 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.5039, allocations: 124.4 kB / 0.9583 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.504, allocations: 0.9688 kB / 0.9583 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.504, allocations: 9.094 kB / 0.9583 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.504, allocations: 2.25 kB / 0.9583 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.5041, allocations: 103.1 kB / 0.9584 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.5046, allocations: 0.5304 MB / 0.9589 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.5048, allocations: 114.2 kB / 0.959 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.487e-05/0.5049, allocations: 66.41 kB / 0.9591 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.5049, allocations: 8.141 kB / 0.9591 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.505, allocations: 128.9 kB / 0.9592 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.5051, allocations: 1.125 kB / 0.9592 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0003667/0.5054, allocations: 308.4 kB / 0.9595 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.5055, allocations: 85.02 kB / 0.9596 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006505/0.5061, allocations: 0.7597 MB / 0.9603 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.5061, allocations: 30.8 kB / 0.9603 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.5063, allocations: 273.6 kB / 0.9606 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.5063, allocations: 27.2 kB / 0.9606 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.5064, allocations: 24.16 kB / 0.9607 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.038e-05/0.5064, allocations: 315.3 kB / 0.961 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-05/0.5065, allocations: 43.67 kB / 0.961 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.692e-05/0.5065, allocations: 48.75 kB / 0.961 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.5067, allocations: 164.1 kB / 0.9612 GB, free: 404 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5067, allocations: 4 kB / 0.9612 GB, free: 400 kB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002382/0.5069, allocations: 262.7 kB / 0.9615 GB, free: 248 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.507, allocations: 37.45 kB / 0.9615 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.507, allocations: 0 / 0.9615 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.507, allocations: 1.094 kB / 0.9615 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.902e-05/0.507, allocations: 15.83 kB / 0.9615 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.507, allocations: 0 / 0.9615 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.5072, allocations: 12.62 kB / 0.9615 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.5072, allocations: 3.969 kB / 0.9615 GB, free: 196 kB / 0.7169 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.0002466/0.5074, allocations: 340.9 kB / 0.9618 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.5075, allocations: 64.11 kB / 0.9619 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.5079, allocations: 299.6 kB / 0.9622 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5079, allocations: 0 / 0.9622 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.5079, allocations: 0 / 0.9622 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.5079, allocations: 0 / 0.9622 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.5082, allocations: 377.9 kB / 0.9626 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5082, allocations: 0 / 0.9626 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.5082, allocations: 6.812 kB / 0.9626 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5082, allocations: 0 / 0.9626 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.5083, allocations: 6.5 kB / 0.9626 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5083, allocations: 1.031 kB / 0.9626 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5083, allocations: 3.984 kB / 0.9626 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.5086, allocations: 310.3 kB / 0.9629 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.5087, allocations: 140.5 kB / 0.963 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/0.5088, allocations: 7.469 kB / 0.963 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.5089, allocations: 3.5 kB / 0.963 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.5089, allocations: 11.45 kB / 0.963 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.509, allocations: 7.594 kB / 0.963 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005515/0.5095, allocations: 0.5614 MB / 0.9636 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5095, allocations: 0 / 0.9636 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003335/0.5099, allocations: 125.4 kB / 0.9637 GB, free: 14.71 MB / 0.7325 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.0007686/0.5106, allocations: 0.9438 MB / 0.9646 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.5109, allocations: 205.3 kB / 0.9648 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5109, allocations: 0 / 0.9648 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.511, allocations: 152.3 kB / 0.965 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.5115, allocations: 102.7 kB / 0.9651 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.5159, allocations: 4.611 MB / 0.9696 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.5164, allocations: 0.9691 MB / 0.9705 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.758e-05/0.5165, allocations: 23.86 kB / 0.9705 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.5166, allocations: 146.6 kB / 0.9707 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.5166, allocations: 1.062 kB / 0.9707 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.204/1.72, allocations: 11.17 MB / 0.9816 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/9.98, allocations: 11.66 kB / 0.9816 GB, free: 0.8633 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches