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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007681/0.007681, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001391/0.001392, allocations: 202.2 kB / 16.68 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 67.89 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2824, allocations: 162.3 MB / 1.242 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002472/0.2849, allocations: 0.7984 MB / 1.243 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.2868, allocations: 1.162 MB / 1.244 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.2869, allocations: 4 kB / 1.244 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.287, allocations: 7.922 kB / 1.244 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.977e-05/0.287, allocations: 7.875 kB / 1.244 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.2876, allocations: 146.9 kB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.2879, allocations: 139.8 kB / 1.244 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.2881, allocations: 35.97 kB / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.2882, allocations: 71.75 kB / 1.244 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.2883, allocations: 51.81 kB / 1.244 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.2884, allocations: 16 kB / 1.244 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.507e-05/0.2885, allocations: 27.98 kB / 1.244 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.2886, allocations: 23.91 kB / 1.244 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.852e-05/0.2887, allocations: 51.78 kB / 1.244 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.2889, allocations: 143.5 kB / 1.244 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2889, allocations: 0 / 1.244 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.289, allocations: 4 kB / 1.244 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.289, allocations: 3.938 kB / 1.244 GB, free: 7.156 MB / 0.9981 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.0007653/0.2897, allocations: 440.7 kB / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2898, allocations: 12.03 kB / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.2898, allocations: 34.75 kB / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.2899, allocations: 12.89 kB / 1.245 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.2901, allocations: 180.2 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.2901, allocations: 4.375 kB / 1.245 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.2902, allocations: 16.38 kB / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.2905, allocations: 90.16 kB / 1.245 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2905, allocations: 7.922 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.2905, allocations: 0 / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2905, allocations: 0 / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.2908, allocations: 59.89 kB / 1.245 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.2913, allocations: 380.6 kB / 1.246 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.2915, allocations: 54.55 kB / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.453e-05/0.2916, allocations: 24.94 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.2916, allocations: 4 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.2918, allocations: 83.36 kB / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.2918, allocations: 0 / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0003875/0.2922, allocations: 129.7 kB / 1.246 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.2923, allocations: 55.41 kB / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.2924, allocations: 133.7 kB / 1.246 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.2924, allocations: 33.7 kB / 1.246 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.2925, allocations: 100.1 kB / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.2925, allocations: 15.89 kB / 1.246 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-05/0.2926, allocations: 37.7 kB / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2927, allocations: 322.8 kB / 1.247 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.2928, allocations: 43.97 kB / 1.247 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.293, allocations: 87.45 kB / 1.247 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.2932, allocations: 120.2 kB / 1.247 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2933, allocations: 0 / 1.247 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003915/0.2937, allocations: 199.2 kB / 1.247 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.2937, allocations: 39.42 kB / 1.247 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.2937, allocations: 0 / 1.247 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.2937, allocations: 4 kB / 1.247 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.2938, allocations: 7.984 kB / 1.247 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.2938, allocations: 7.875 kB / 1.247 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.294, allocations: 35.95 kB / 1.247 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.294, allocations: 12.12 kB / 1.247 GB, free: 4.145 MB / 0.9981 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.122e-05/0.2941, allocations: 129 kB / 1.247 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.2942, allocations: 11.89 kB / 1.247 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.2942, allocations: 12.38 kB / 1.247 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2942, allocations: 0 / 1.247 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2942, allocations: 3.938 kB / 1.247 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2942, allocations: 0 / 1.247 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.2944, allocations: 193.5 kB / 1.247 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2944, allocations: 0 / 1.247 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.493e-05/0.2944, allocations: 11.98 kB / 1.247 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2944, allocations: 0 / 1.247 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.2945, allocations: 4 kB / 1.247 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2945, allocations: 0 / 1.247 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2945, allocations: 3.938 kB / 1.247 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.2947, allocations: 125 kB / 1.248 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.2948, allocations: 89.06 kB / 1.248 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.2948, allocations: 4 kB / 1.248 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.587e-05/0.2949, allocations: 11.98 kB / 1.248 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.2949, allocations: 15.92 kB / 1.248 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.2949, allocations: 128 / 1.248 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.518e-05/0.295, allocations: 99.64 kB / 1.248 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.295, allocations: 0 / 1.248 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001947/0.2952, allocations: 20 kB / 1.248 GB, free: 3.332 MB / 0.9981 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.0005432/0.2957, allocations: 0.6754 MB / 1.249 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003418/0.2961, allocations: 159.3 kB / 1.249 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2961, allocations: 8.125 kB / 1.249 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.2962, allocations: 39.91 kB / 1.249 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.2964, allocations: 15.92 kB / 1.249 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.2982, allocations: 1.606 MB / 1.25 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4798/0.7781, allocations: 0.6885 MB / 1.251 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.951e-05/0.7781, allocations: 4.297 kB / 1.251 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.7782, allocations: 23.11 kB / 1.251 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.7782, allocations: 0.5312 kB / 1.251 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3644/1.143, allocations: 2.799 MB / 1.254 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.631/8.774, allocations: 12.73 kB / 1.254 GB, free: 14.03 MB / 0.9981 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=400 --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