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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001658/0.001658, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001977/0.001977, allocations: 193.3 kB / 16.14 MB, free: 6.652 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.24/1.24, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437 MB / 0.7099 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 71.88 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5157/0.517, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002072/0.5191, allocations: 0.9296 MB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000936/0.52, allocations: 0.8779 MB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.5201, allocations: 0 / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.187e-05/0.5202, allocations: 3.938 kB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.205e-05/0.5203, allocations: 11.86 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.5204, allocations: 43.97 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.5206, allocations: 103.6 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.5207, allocations: 48.97 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.5208, allocations: 35.86 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.377e-05/0.5209, allocations: 43.77 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.5209, allocations: 4 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.78e-05/0.521, allocations: 8 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.521, allocations: 23.91 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.521, allocations: 47.72 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.5212, allocations: 117.9 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5212, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.91e-07/0.5212, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.5212, allocations: 0 / 1.019 GB, free: 0.4961 MB / 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.0008366/0.5221, allocations: 459.1 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.5221, allocations: 11.97 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.789e-05/0.5222, allocations: 42.75 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.5222, allocations: 12.75 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.5224, allocations: 181.8 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.5224, allocations: 4.375 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.5224, allocations: 8.375 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.5226, allocations: 90.2 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.5226, allocations: 7.938 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.5226, allocations: 3.938 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.5227, allocations: 4 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.5228, allocations: 67.97 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.5235, allocations: 408.4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.5237, allocations: 62.55 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.43e-05/0.5238, allocations: 28.97 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.5238, allocations: 4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.5239, allocations: 34.56 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.5239, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003404/0.5242, allocations: 117.4 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.5242, allocations: 59.34 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.5244, allocations: 148 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.5244, allocations: 41.52 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.5245, allocations: 104 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.5245, allocations: 19.88 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.5245, allocations: 17.72 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.5246, allocations: 322.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.875e-05/0.5247, allocations: 23.98 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.949e-05/0.5248, allocations: 31.98 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.525, allocations: 52.97 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.525, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002171/0.5252, allocations: 105.5 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.5252, allocations: 8 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.5252, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.5252, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.5253, allocations: 7.984 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.5254, allocations: 7.938 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.5255, allocations: 23.97 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.5256, allocations: 4 kB / 1.021 GB, free: 13.78 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.66e-05/0.5257, allocations: 118.4 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.5257, allocations: 11.81 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.5257, allocations: 16.3 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.5257, allocations: 4 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.5257, allocations: 3.938 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5258, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.5259, allocations: 205.5 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.526, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.049e-05/0.526, allocations: 7.984 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.526, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.5261, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5261, allocations: 4.25 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.5261, allocations: 7.938 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.5263, allocations: 183.4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.5264, allocations: 88.95 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.5264, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.5266, allocations: 31.97 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.5266, allocations: 15.91 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.5267, allocations: 3.938 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.906e-05/0.5267, allocations: 117.3 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5268, allocations: 7.938 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002354/0.527, allocations: 16 kB / 1.022 GB, free: 12.87 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.0004711/0.5275, allocations: 0.7162 MB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.5277, allocations: 67.91 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5277, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/0.5278, allocations: 27.98 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.5281, allocations: 26.53 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.5297, allocations: 1.596 MB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.53, allocations: 0.7004 MB / 1.025 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.592e-05/0.53, allocations: 7.984 kB / 1.025 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.5301, allocations: 27.42 kB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5301, allocations: 0 / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.5543, allocations: 2.374 MB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.5545, allocations: 221.6 kB / 1.028 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.156, allocations: 11.5 kB / 1.028 GB, free: 7.055 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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