Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.001374/0.001374, allocations: 108 kB / 15.6 MB, free: 132 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.001453/0.001453, allocations: 191 kB / 16.53 MB, free: 6.391 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.501/2.501, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.91 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.624/0.6255, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002242/0.6278, allocations: 0.8163 MB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.6292, allocations: 1.152 MB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.933e-05/0.6293, allocations: 4 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/0.6294, allocations: 11.88 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.577e-05/0.6295, allocations: 15.84 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.63, allocations: 139.6 kB / 1.02 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.6302, allocations: 147.8 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.6303, allocations: 35.97 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.6305, allocations: 59.83 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.6306, allocations: 51.81 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.6306, allocations: 12 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.39e-05/0.6307, allocations: 32 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.6307, allocations: 19.91 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.132e-05/0.6308, allocations: 51.84 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.631, allocations: 149.8 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6311, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6311, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.6311, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006359/0.6317, allocations: 432.8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.6318, allocations: 11.97 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.6318, allocations: 46.73 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.6319, allocations: 12.84 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.632, allocations: 176.2 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.632, allocations: 4.375 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.632, allocations: 12.38 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.6323, allocations: 87.95 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.6323, allocations: 3.938 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.6323, allocations: 4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.6323, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.6325, allocations: 63.89 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.6331, allocations: 376.5 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.6332, allocations: 58.55 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.586e-05/0.6334, allocations: 24.94 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.6334, allocations: 7.969 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.6336, allocations: 79.38 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.6336, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004187/0.634, allocations: 137.4 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.6341, allocations: 55.41 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.643e-05/0.6342, allocations: 125.7 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.6342, allocations: 33.7 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.6343, allocations: 96.03 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.6343, allocations: 23.73 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.566e-05/0.6344, allocations: 41.7 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6345, allocations: 322.8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.6347, allocations: 47.97 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.6349, allocations: 79.39 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.6351, allocations: 120.2 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6351, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004117/0.6355, allocations: 191.2 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.026e-05/0.6356, allocations: 41.69 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6356, allocations: 320 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.6356, allocations: 8.062 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.6357, allocations: 8 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.6357, allocations: 7.875 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.636, allocations: 39.94 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.636, allocations: 4 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 9.4e-05/0.6361, allocations: 123.4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.6361, allocations: 11.91 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.6362, allocations: 12.36 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.6362, allocations: 4 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.6362, allocations: 3.938 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.6362, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.6363, allocations: 189.6 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.6363, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.6364, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.6364, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.6364, allocations: 7.984 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6364, allocations: 4 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6364, allocations: 3.938 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.6367, allocations: 120.9 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.6368, allocations: 93 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.6368, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.638e-05/0.6368, allocations: 8.078 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.6369, allocations: 27.86 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.6369, allocations: 0 / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.965e-05/0.637, allocations: 99.2 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.637, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002148/0.6372, allocations: 23.94 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * 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: 0 * Record equations: 0 * When equations: 1 * 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.000527/0.6377, allocations: 0.667 MB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003627/0.6381, allocations: 167.5 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6381, allocations: 3.938 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.6382, allocations: 40.09 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.6384, allocations: 16.83 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.6403, allocations: 1.586 MB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.6405, allocations: 0.6885 MB / 1.026 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.6405, allocations: 4 kB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.6406, allocations: 27.42 kB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.6406, allocations: 0 / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5048/1.145, allocations: 2.78 MB / 1.029 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/9.239, allocations: 9.531 kB / 1.029 GB, free: 5.957 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches