Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.SpeedSelect,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",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.001498/0.001498, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001772/0.001772, allocations: 196 kB / 16.14 MB, free: 6.727 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 67.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6093/0.6107, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002901/0.6137, allocations: 2.144 MB / 0.9512 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002367/0.6161, allocations: 2.508 MB / 0.9536 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.6162, allocations: 2.562 kB / 0.9536 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.6173, allocations: 0.5006 MB / 0.9541 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.6176, allocations: 100.7 kB / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.6181, allocations: 206.3 kB / 0.9544 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000292/0.6184, allocations: 340.5 kB / 0.9547 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.6185, allocations: 73.17 kB / 0.9548 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.6186, allocations: 115 kB / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.6188, allocations: 144.2 kB / 0.955 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.6188, allocations: 3.531 kB / 0.955 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.6189, allocations: 55.06 kB / 0.9551 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.6191, allocations: 122.9 kB / 0.9552 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.6192, allocations: 223.2 kB / 0.9554 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004311/0.6197, allocations: 0.6543 MB / 0.9561 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6197, allocations: 0 / 0.9561 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6197, allocations: 1.281 kB / 0.9561 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.6197, allocations: 4 kB / 0.9561 GB, free: 3.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008557/0.6206, allocations: 0.8725 MB / 0.9569 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.6206, allocations: 9.562 kB / 0.9569 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.679e-05/0.6206, allocations: 40.23 kB / 0.957 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.6207, allocations: 66.22 kB / 0.957 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.6211, allocations: 428.2 kB / 0.9574 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.6211, allocations: 6.75 kB / 0.9574 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.6211, allocations: 3.625 kB / 0.9575 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.6213, allocations: 104.9 kB / 0.9576 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.6213, allocations: 1.375 kB / 0.9576 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.6213, allocations: 3.984 kB / 0.9576 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-06/0.6213, allocations: 1.375 kB / 0.9576 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.6214, allocations: 39.36 kB / 0.9576 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.622, allocations: 0.5183 MB / 0.9581 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.6223, allocations: 98.05 kB / 0.9582 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.049e-05/0.6224, allocations: 32.66 kB / 0.9582 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.6224, allocations: 6.781 kB / 0.9582 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.6226, allocations: 88.45 kB / 0.9583 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.6226, allocations: 1 kB / 0.9583 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003399/0.6229, allocations: 191.2 kB / 0.9585 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.623, allocations: 107.8 kB / 0.9586 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000874/0.6238, allocations: 0.8849 MB / 0.9595 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.6239, allocations: 30.86 kB / 0.9595 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.624, allocations: 308.3 kB / 0.9598 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.6241, allocations: 14.83 kB / 0.9598 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.6241, allocations: 29.78 kB / 0.9598 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.6242, allocations: 311.9 kB / 0.9601 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/0.6242, allocations: 30.05 kB / 0.9602 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/0.6243, allocations: 77.52 kB / 0.9602 GB, free: 472 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.6245, allocations: 69.73 kB / 0.9603 GB, free: 428 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6245, allocations: 5.031 kB / 0.9603 GB, free: 424 kB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002352/0.6247, allocations: 163.2 kB / 0.9605 GB, free: 324 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.6247, allocations: 5 kB / 0.9605 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.6247, allocations: 1.062 kB / 0.9605 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.6248, allocations: 5.141 kB / 0.9605 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.6248, allocations: 23 kB / 0.9605 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.6249, allocations: 1.516 kB / 0.9605 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.625, allocations: 11.33 kB / 0.9605 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.625, allocations: 6.938 kB / 0.9605 GB, free: 296 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0002305/0.6252, allocations: 310.3 kB / 0.9608 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.6253, allocations: 66 kB / 0.9609 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.6254, allocations: 76.47 kB / 0.9609 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6254, allocations: 4.969 kB / 0.9609 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.6254, allocations: 0 / 0.9609 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6254, allocations: 1.438 kB / 0.9609 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.6258, allocations: 376.6 kB / 0.9613 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.6258, allocations: 1.219 kB / 0.9613 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.827e-05/0.6258, allocations: 9.141 kB / 0.9613 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6259, allocations: 5.125 kB / 0.9613 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.6259, allocations: 5.094 kB / 0.9613 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.6259, allocations: 9.172 kB / 0.9613 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6259, allocations: 0 / 0.9613 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.6262, allocations: 194.2 kB / 0.9615 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.6263, allocations: 135.2 kB / 0.9617 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.6263, allocations: 2.281 kB / 0.9617 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.6265, allocations: 11.25 kB / 0.9617 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.6265, allocations: 11.39 kB / 0.9617 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.6265, allocations: 7.281 kB / 0.9617 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007104/0.6273, allocations: 0.6591 MB / 0.9623 GB, free: 15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6273, allocations: 3.938 kB / 0.9623 GB, free: 15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002728/0.6275, allocations: 56.81 kB / 0.9624 GB, free: 14.99 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: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00137/0.6289, allocations: 1.055 MB / 0.9634 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.6291, allocations: 64.56 kB / 0.9635 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6291, allocations: 5.203 kB / 0.9635 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.029e-05/0.6292, allocations: 38.39 kB / 0.9635 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.6298, allocations: 140.8 kB / 0.9637 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005229/0.6351, allocations: 4.902 MB / 0.9684 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.6356, allocations: 0.9768 MB / 0.9694 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.6357, allocations: 48.56 kB / 0.9694 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.636, allocations: 172.6 kB / 0.9696 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.636, allocations: 0 / 0.9696 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3774/1.013, allocations: 11.99 MB / 0.9813 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003458/1.014, allocations: 274.4 kB / 0.9816 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.859, allocations: 0 / 0.9816 GB, free: 0.6328 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches