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.007836/0.007836, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.002151/0.002151, allocations: 201.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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 68.11 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2821, allocations: 162.2 MB / 1.241 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002003/0.2841, allocations: 0.8163 MB / 1.242 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.2856, allocations: 1.155 MB / 1.243 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.2857, allocations: 4 kB / 1.243 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.2857, allocations: 11.86 kB / 1.243 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.531e-05/0.2858, allocations: 19.8 kB / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.2863, allocations: 139.3 kB / 1.244 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.2865, allocations: 143.8 kB / 1.244 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.2866, allocations: 39.97 kB / 1.244 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.419e-05/0.2867, allocations: 55.84 kB / 1.244 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.2868, allocations: 55.8 kB / 1.244 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.2869, allocations: 16 kB / 1.244 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.453e-05/0.2869, allocations: 27.98 kB / 1.244 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.287, allocations: 19.92 kB / 1.244 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.895e-05/0.2871, allocations: 55.77 kB / 1.244 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.2873, allocations: 155.5 kB / 1.244 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2873, allocations: 0 / 1.244 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2873, allocations: 3.938 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2873, allocations: 0 / 1.244 GB, free: 7.547 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.0006515/0.288, allocations: 432.8 kB / 1.244 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.288, allocations: 12.03 kB / 1.245 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.288, allocations: 34.75 kB / 1.245 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.2881, allocations: 12.89 kB / 1.245 GB, free: 7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.2882, allocations: 184.2 kB / 1.245 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.2883, allocations: 8.375 kB / 1.245 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.2883, allocations: 8.375 kB / 1.245 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.2885, allocations: 90.2 kB / 1.245 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.2886, allocations: 3.938 kB / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.2886, allocations: 0 / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2886, allocations: 0 / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.2888, allocations: 63.95 kB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.2894, allocations: 380.6 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.2896, allocations: 50.55 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.2897, allocations: 28.88 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.2897, allocations: 12 kB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.2899, allocations: 83.3 kB / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.2899, allocations: 0 / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0004515/0.2904, allocations: 125.6 kB / 1.246 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.2905, allocations: 59.41 kB / 1.246 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2906, allocations: 137.7 kB / 1.246 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.2906, allocations: 25.7 kB / 1.246 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.2907, allocations: 104 kB / 1.246 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.2907, allocations: 15.89 kB / 1.246 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-05/0.2908, allocations: 33.7 kB / 1.246 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.291, allocations: 322.8 kB / 1.246 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.2911, allocations: 47.97 kB / 1.246 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.2914, allocations: 83.39 kB / 1.246 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.2916, allocations: 120.2 kB / 1.246 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2916, allocations: 0 / 1.246 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004652/0.2921, allocations: 199.2 kB / 1.247 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.2922, allocations: 33.7 kB / 1.247 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.2922, allocations: 0 / 1.247 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2922, allocations: 4 kB / 1.247 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.262e-05/0.2923, allocations: 7.984 kB / 1.247 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2923, allocations: 3.938 kB / 1.247 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.2925, allocations: 44.11 kB / 1.247 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.2926, allocations: 15.92 kB / 1.247 GB, free: 4.535 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.882e-05/0.2927, allocations: 114.4 kB / 1.247 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.2927, allocations: 7.953 kB / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.2927, allocations: 12.38 kB / 1.247 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2927, allocations: 0 / 1.247 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2928, allocations: 3.938 kB / 1.247 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2928, allocations: 3.938 kB / 1.247 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.2929, allocations: 197.6 kB / 1.247 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.293, allocations: 0 / 1.247 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.409e-05/0.293, allocations: 11.92 kB / 1.247 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.293, allocations: 4 kB / 1.247 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.2931, allocations: 0 / 1.247 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2931, allocations: 0 / 1.247 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2931, allocations: 3.938 kB / 1.247 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.2934, allocations: 125 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.2934, allocations: 85.06 kB / 1.247 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.2935, allocations: 384 / 1.247 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.2935, allocations: 15.98 kB / 1.247 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.2936, allocations: 11.92 kB / 1.247 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.2936, allocations: 7.984 kB / 1.247 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.408e-05/0.2937, allocations: 99.22 kB / 1.247 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2937, allocations: 0 / 1.247 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002377/0.2939, allocations: 27.98 kB / 1.247 GB, free: 3.719 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.0006387/0.2946, allocations: 0.6593 MB / 1.248 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000411/0.295, allocations: 171.3 kB / 1.248 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.295, allocations: 4 kB / 1.248 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.2951, allocations: 31.98 kB / 1.248 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.2954, allocations: 11.92 kB / 1.248 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.2975, allocations: 1.615 MB / 1.25 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.2978, allocations: 0.6885 MB / 1.251 GB, free: 388 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.666e-05/0.2979, allocations: 8 kB / 1.251 GB, free: 380 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.2979, allocations: 27.42 kB / 1.251 GB, free: 352 kB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.2979, allocations: 0 / 1.251 GB, free: 352 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4849/0.7828, allocations: 2.79 MB / 1.253 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/8.244, allocations: 17.42 kB / 1.253 GB, free: 14.7 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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