Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.SystemOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.008542/0.008542, allocations: 101 kB / 15.73 MB, free: 6.059 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.002399/0.002399, allocations: 194.7 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.739/2.739, allocations: 469.8 MB / 0.7425 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.89 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6842/0.6861, allocations: 159.1 MB / 1.22 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002143/0.6883, allocations: 0.9225 MB / 1.221 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.6894, allocations: 0.8896 MB / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.6895, allocations: 4 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.6896, allocations: 7.875 kB / 1.222 GB, free: 168 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.652e-05/0.6897, allocations: 15.75 kB / 1.222 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.6898, allocations: 39.95 kB / 1.222 GB, free: 112 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.69, allocations: 135.7 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.6902, allocations: 57.38 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.6903, allocations: 51.78 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.6904, allocations: 51.75 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.6904, allocations: 16 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.413e-05/0.6905, allocations: 12 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.6905, allocations: 31.86 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.6906, allocations: 59.72 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.6908, allocations: 155 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6908, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6908, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.6908, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006989/0.6915, allocations: 434.8 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.6916, allocations: 12.62 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.6917, allocations: 38.75 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.6917, allocations: 20.84 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.6921, allocations: 214.8 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.6921, allocations: 8.375 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.6922, allocations: 15.88 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.6924, allocations: 105.6 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6924, allocations: 0 / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.6924, allocations: 4 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.6925, allocations: 7.938 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.6927, allocations: 70.19 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.6933, allocations: 404.7 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.6936, allocations: 86.59 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.6937, allocations: 40.78 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.6937, allocations: 4 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.6938, allocations: 38.5 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.6938, allocations: 0 / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003892/0.6942, allocations: 121.6 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.6942, allocations: 51.41 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.6944, allocations: 159.3 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.6944, allocations: 29.7 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.988e-05/0.6945, allocations: 120.3 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.6945, allocations: 23.83 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.6946, allocations: 21.72 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6948, allocations: 322.8 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.6949, allocations: 35.97 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.695, allocations: 50.56 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.6952, allocations: 56.83 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6952, allocations: 0 / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000262/0.6955, allocations: 117.5 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.6955, allocations: 8 kB / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.6955, allocations: 4 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.6955, allocations: 0 / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.6956, allocations: 16.2 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.6956, allocations: 0 / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.327e-05/0.6957, allocations: 11.98 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.6957, allocations: 3.938 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.000114/0.6959, allocations: 128.7 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.6959, allocations: 15.84 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.696, allocations: 16.72 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.696, allocations: 4 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.696, allocations: 3.984 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.696, allocations: 0 / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.6962, allocations: 205.6 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6962, allocations: 0 / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.494e-05/0.6963, allocations: 19.86 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6963, allocations: 0 / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.6963, allocations: 8 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6963, allocations: 0 / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6964, allocations: 0 / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.6966, allocations: 195.4 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.688e-05/0.6967, allocations: 100.9 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.6967, allocations: 4 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.6969, allocations: 12 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.6969, allocations: 11.97 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.697, allocations: 4 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.433e-05/0.6971, allocations: 119.2 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6971, allocations: 0 / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002436/0.6973, allocations: 20 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006911/0.698, allocations: 0.7405 MB / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.6983, allocations: 71.95 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6983, allocations: 0 / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.6984, allocations: 39.98 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.6987, allocations: 8 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.7009, allocations: 1.665 MB / 1.228 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.7013, allocations: 0.7003 MB / 1.229 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.178e-05/0.7014, allocations: 16.64 kB / 1.229 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.186e-05/0.7015, allocations: 43.36 kB / 1.229 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of SimCode: time 6.81e-07/0.7015, allocations: 0 / 1.229 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.7258, allocations: 2.663 MB / 1.232 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/8.909, allocations: 3.938 kB / 1.232 GB, free: 5.793 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_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_SystemOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches