Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_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.004943/0.004943, allocations: 101.6 kB / 15.73 MB, free: 5.992 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.00119/0.001191, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.517/2.517, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 68.11 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7081/0.7095, allocations: 157.4 MB / 1.207 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002235/0.7118, allocations: 0.8094 MB / 1.208 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.7133, allocations: 1.151 MB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.7134, allocations: 0 / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.1e-05/0.7135, allocations: 7.922 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.622e-05/0.7136, allocations: 11.86 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005718/0.7142, allocations: 154.9 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.7145, allocations: 155.7 kB / 1.209 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.7146, allocations: 35.94 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.7147, allocations: 51.91 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.7149, allocations: 59.73 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.7149, allocations: 16 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.488e-05/0.715, allocations: 27.98 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/0.715, allocations: 15.98 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.796e-05/0.7151, allocations: 55.77 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.7154, allocations: 157.7 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7154, allocations: 4 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7154, allocations: 0 / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.7154, allocations: 0 / 1.21 GB, free: 10.89 MB / 0.9356 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.0006911/0.7161, allocations: 432.9 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.7161, allocations: 8.031 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.7162, allocations: 38.75 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.7163, allocations: 8.844 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.7164, allocations: 176.2 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.7164, allocations: 12.38 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.7164, allocations: 12.36 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.7167, allocations: 90.14 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.7167, allocations: 3.938 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.7167, allocations: 0 / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.7167, allocations: 4 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.7169, allocations: 63.33 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.7175, allocations: 380.5 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.7177, allocations: 50.55 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.7178, allocations: 28.94 kB / 1.211 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.7178, allocations: 0 / 1.211 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.7181, allocations: 95.27 kB / 1.211 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.7181, allocations: 3.938 kB / 1.211 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.000435/0.7185, allocations: 117.6 kB / 1.211 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.7186, allocations: 51.41 kB / 1.211 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.7187, allocations: 137.6 kB / 1.212 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.7187, allocations: 33.7 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.7188, allocations: 99.98 kB / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.7188, allocations: 23.73 kB / 1.212 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.631e-05/0.7189, allocations: 29.7 kB / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.719, allocations: 322.8 kB / 1.212 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.7192, allocations: 51.97 kB / 1.212 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.7194, allocations: 83.33 kB / 1.212 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.7196, allocations: 120.3 kB / 1.212 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.7196, allocations: 0 / 1.212 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000415/0.7201, allocations: 195.3 kB / 1.212 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.7201, allocations: 29.7 kB / 1.212 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7201, allocations: 4.312 kB / 1.212 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.7201, allocations: 0 / 1.212 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.7202, allocations: 15.92 kB / 1.212 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.7203, allocations: 7.938 kB / 1.213 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.7205, allocations: 43.86 kB / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.7205, allocations: 12.05 kB / 1.213 GB, free: 7.887 MB / 0.9356 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 0.0001015/0.7206, allocations: 117.8 kB / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.7206, allocations: 0 / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.7207, allocations: 12.38 kB / 1.213 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.7207, allocations: 0 / 1.213 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7207, allocations: 3.938 kB / 1.213 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7207, allocations: 0 / 1.213 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.7209, allocations: 193.5 kB / 1.213 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7209, allocations: 0 / 1.213 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.407e-05/0.7209, allocations: 15.98 kB / 1.213 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.721, allocations: 0 / 1.213 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.721, allocations: 0 / 1.213 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.721, allocations: 0 / 1.213 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.721, allocations: 7.875 kB / 1.213 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.7213, allocations: 121.1 kB / 1.213 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.7213, allocations: 85.02 kB / 1.213 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.7213, allocations: 0 / 1.213 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.7214, allocations: 15.92 kB / 1.213 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.7215, allocations: 15.92 kB / 1.213 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.7215, allocations: 7.984 kB / 1.213 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.767e-05/0.7216, allocations: 87.28 kB / 1.213 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7216, allocations: 0 / 1.213 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002454/0.7218, allocations: 36.05 kB / 1.213 GB, free: 7.082 MB / 0.9356 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.0005712/0.7224, allocations: 0.6709 MB / 1.214 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004354/0.7228, allocations: 171.4 kB / 1.214 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7229, allocations: 4.125 kB / 1.214 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.723, allocations: 28.11 kB / 1.214 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.7232, allocations: 28.03 kB / 1.214 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.7252, allocations: 1.602 MB / 1.216 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.7255, allocations: 0.6924 MB / 1.216 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.199e-05/0.7255, allocations: 4 kB / 1.216 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.7256, allocations: 23.42 kB / 1.216 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.7256, allocations: 4 kB / 1.216 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.7467, allocations: 2.861 MB / 1.219 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.702/9.449, allocations: 4.359 kB / 1.219 GB, free: 0.9883 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches