Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_11_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.006976/0.006976, allocations: 102 kB / 15.73 MB, free: 6.445 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.001736/0.001736, allocations: 194.7 kB / 16.67 MB, free: 6.352 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.886/2.886, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2941, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001988/0.2961, allocations: 0.8118 MB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.2976, allocations: 1.159 MB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.2977, allocations: 7.938 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.2977, allocations: 7.875 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.483e-05/0.2978, allocations: 7.875 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.2983, allocations: 143.4 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.2985, allocations: 147.8 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2987, allocations: 39.94 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.2988, allocations: 59.83 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.2989, allocations: 55.8 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.299, allocations: 16 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.238e-05/0.299, allocations: 27.94 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.2991, allocations: 23.91 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.648e-05/0.2992, allocations: 47.84 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.2994, allocations: 147.5 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2994, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2994, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2994, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 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.0007108/0.3001, allocations: 440.8 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.3002, allocations: 8.031 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.653e-05/0.3003, allocations: 42.67 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.3003, allocations: 12.89 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.3005, allocations: 180.2 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3005, allocations: 8.375 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.3005, allocations: 8.375 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.3008, allocations: 94.2 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3008, allocations: 7.938 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3008, allocations: 0 / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3008, allocations: 0 / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.3011, allocations: 55.95 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.3017, allocations: 388.5 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.3018, allocations: 58.48 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.302, allocations: 28.94 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.302, allocations: 3.984 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.3022, allocations: 83.33 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.3022, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004299/0.3026, allocations: 121.6 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3027, allocations: 59.34 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3028, allocations: 145.5 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3028, allocations: 25.7 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.3029, allocations: 104.1 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.3029, allocations: 15.89 kB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.303, allocations: 37.7 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3032, allocations: 322.8 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.3033, allocations: 43.97 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.3035, allocations: 83.39 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.3038, allocations: 116.2 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3038, allocations: 0 / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004545/0.3043, allocations: 191.2 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.3043, allocations: 41.69 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3044, allocations: 4.062 kB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3044, allocations: 4 kB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.3045, allocations: 4 kB / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.3045, allocations: 7.938 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.3047, allocations: 35.94 kB / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.3047, allocations: 12 kB / 1.225 GB, free: 8.598 MB / 0.9825 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.0001084/0.3049, allocations: 125.8 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.3049, allocations: 3.953 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.3049, allocations: 12.47 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3049, allocations: 7.922 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3049, allocations: 3.938 kB / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3049, allocations: 0 / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.3051, allocations: 189.5 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3051, allocations: 0 / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.309e-05/0.3052, allocations: 12.3 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3052, allocations: 8 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3052, allocations: 4 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3052, allocations: 0 / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3052, allocations: 3.938 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.3055, allocations: 121 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.3056, allocations: 85.06 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3056, allocations: 3.984 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.3057, allocations: 19.92 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.3058, allocations: 15.92 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.3058, allocations: 0 / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.3058, allocations: 95.27 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3058, allocations: 0 / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002345/0.3061, allocations: 24 kB / 1.226 GB, free: 7.773 MB / 0.9825 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.0006123/0.3067, allocations: 0.6637 MB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003997/0.3071, allocations: 171.3 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3071, allocations: 0 / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.3073, allocations: 40.09 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.3075, allocations: 19.88 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.3095, allocations: 1.606 MB / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.3098, allocations: 0.6885 MB / 1.229 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.3099, allocations: 7.984 kB / 1.229 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.905e-05/0.3099, allocations: 23.44 kB / 1.229 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.31, allocations: 0 / 1.229 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.3335, allocations: 2.801 MB / 1.232 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.029, allocations: 20.02 kB / 1.232 GB, free: 1.734 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches