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.007296/0.007296, allocations: 102.2 kB / 15.73 MB, free: 6.035 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.001819/0.001819, allocations: 198.9 kB / 16.67 MB, free: 5.969 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.535/2.535, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2831, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002168/0.2853, allocations: 0.8131 MB / 1.167 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.2869, allocations: 1.159 MB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.287, allocations: 8 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.287, allocations: 3.938 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.515e-05/0.2871, allocations: 11.86 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005537/0.2877, allocations: 134.9 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.2879, allocations: 159.7 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.288, allocations: 31.98 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.2882, allocations: 55.89 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.2883, allocations: 55.8 kB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.2883, allocations: 20 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.734e-05/0.2884, allocations: 27.98 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.2885, allocations: 23.91 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.497e-05/0.2885, allocations: 51.78 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.2888, allocations: 146.4 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2888, allocations: 3.938 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2888, allocations: 3.938 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2888, allocations: 0 / 1.169 GB, free: 4.621 MB / 0.92 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.0006412/0.2894, allocations: 429.8 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2895, allocations: 16.03 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.2895, allocations: 30.75 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/0.2896, allocations: 12.84 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2897, allocations: 180.2 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.2897, allocations: 8.359 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.2898, allocations: 12.38 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.29, allocations: 86.09 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.29, allocations: 11.81 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2901, allocations: 4 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2901, allocations: 4 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.2903, allocations: 63.92 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.2909, allocations: 380.5 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.291, allocations: 50.56 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.2912, allocations: 32.92 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.2912, allocations: 4 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.2914, allocations: 83.27 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.2914, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004381/0.2918, allocations: 129.6 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.2919, allocations: 59.39 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.292, allocations: 129.6 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.292, allocations: 29.7 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.2921, allocations: 100 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.2921, allocations: 15.8 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.2922, allocations: 41.69 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2923, allocations: 318.8 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.2925, allocations: 55.89 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.2927, allocations: 75.41 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.293, allocations: 128.2 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.293, allocations: 0 / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004374/0.2934, allocations: 183.3 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.2935, allocations: 37.69 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2935, allocations: 0 / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2935, allocations: 4 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.425e-05/0.2936, allocations: 11.98 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2936, allocations: 11.94 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.2939, allocations: 43.8 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.2939, allocations: 8 kB / 1.171 GB, free: 1.609 MB / 0.92 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.0001037/0.294, allocations: 113.8 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.294, allocations: 7.984 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.2941, allocations: 16.38 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2941, allocations: 0 / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2941, allocations: 3.938 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2941, allocations: 0 / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.2942, allocations: 193.5 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2942, allocations: 0 / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.505e-05/0.2943, allocations: 4.094 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2943, allocations: 7.938 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2943, allocations: 3.984 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2943, allocations: 0 / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2944, allocations: 3.938 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.2947, allocations: 125 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.2947, allocations: 85.02 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.2947, allocations: 384 / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.2948, allocations: 15.98 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.2949, allocations: 15.92 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.2949, allocations: 4 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.911e-05/0.2949, allocations: 99.27 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.295, allocations: 3.938 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002389/0.2952, allocations: 20 kB / 1.172 GB, free: 0.8047 MB / 0.92 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.0005748/0.2958, allocations: 0.6748 MB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004071/0.2962, allocations: 163.3 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2962, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.2964, allocations: 39.91 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.2966, allocations: 18.34 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.2986, allocations: 1.603 MB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.2989, allocations: 0.7002 MB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.201e-05/0.2989, allocations: 4 kB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.299, allocations: 27.42 kB / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.299, allocations: 0 / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.3188, allocations: 2.801 MB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.743/10.06, allocations: 7 kB / 1.178 GB, free: 10.76 MB / 0.9356 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