Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SystemOnOff,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_10_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.001332/0.001332, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.475/2.475, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.89 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5301/0.5315, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002239/0.5337, allocations: 0.874 MB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009982/0.5347, allocations: 0.874 MB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.5348, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.201e-05/0.5349, allocations: 7.875 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.795e-05/0.535, allocations: 23.8 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.5352, allocations: 43.89 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.5353, allocations: 111.6 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.5355, allocations: 49.06 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.5356, allocations: 43.86 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.45e-05/0.5357, allocations: 47.77 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.5357, allocations: 12 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.014e-05/0.5358, allocations: 15.94 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.5358, allocations: 27.89 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.5359, allocations: 47.73 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.536, allocations: 121.9 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.536, allocations: 0 / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.443e-06/0.536, allocations: 0 / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.536, allocations: 0 / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000911/0.5369, allocations: 466.9 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.537, allocations: 8.031 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.537, allocations: 38.75 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.5371, allocations: 8.844 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.5372, allocations: 188.1 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.5373, allocations: 384 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.5373, allocations: 16.31 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.5375, allocations: 90.91 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.5375, allocations: 7.938 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.5375, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5375, allocations: 4 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.5377, allocations: 67.95 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007264/0.5385, allocations: 404.4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.5386, allocations: 58.55 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.704e-05/0.5387, allocations: 36.95 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.5388, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.5388, allocations: 38.5 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.5388, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003498/0.5391, allocations: 105.7 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.5392, allocations: 67.34 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.5393, allocations: 151.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.5393, allocations: 29.7 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.5394, allocations: 100 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.5394, allocations: 27.81 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.5395, allocations: 17.72 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.5396, allocations: 322.8 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.965e-05/0.5397, allocations: 28.05 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.5398, allocations: 35.97 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.5399, allocations: 56.92 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5399, allocations: 3.938 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002041/0.5401, allocations: 93.55 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.5401, allocations: 8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5402, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.5402, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.5403, allocations: 15.98 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.5403, allocations: 7.938 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.5405, allocations: 19.97 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.5405, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 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 (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 prepare postOptimizeDAE: time 8.262e-05/0.5406, allocations: 125.8 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.5406, allocations: 7.906 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.5407, allocations: 16.3 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.5407, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5407, allocations: 3.938 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.5407, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.5409, allocations: 205.5 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5409, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.758e-05/0.5409, allocations: 7.984 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.541, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.541, allocations: 8 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.541, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.541, allocations: 3.938 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.5412, allocations: 183.4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.5413, allocations: 88.95 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.5413, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.5415, allocations: 27.97 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.5416, allocations: 15.92 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.5416, allocations: 8.047 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.518e-05/0.5417, allocations: 116.7 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.613e-06/0.5417, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002356/0.5419, allocations: 19.94 kB / 1.023 GB, free: 12.53 MB / 0.7794 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 (5): * Single equations (assignments): 5 * 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.0004897/0.5424, allocations: 0.7163 MB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.5426, allocations: 67.91 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5427, allocations: 0 / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.338e-05/0.5428, allocations: 35.98 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.5431, allocations: 17.3 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.5447, allocations: 1.587 MB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.5449, allocations: 0.6963 MB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.352e-05/0.5449, allocations: 8 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.545, allocations: 35.36 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of SimCode: time 1.513e-06/0.545, allocations: 0 / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.5635, allocations: 2.718 MB / 1.029 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.997/7.561, allocations: 4 kB / 1.029 GB, free: 6.625 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches