Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.001177/0.001176, allocations: 108 kB / 15.61 MB, free: 152 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.001261/0.001261, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.62/2.62, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.89 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7696/0.7711, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001872/0.773, allocations: 0.5988 MB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.7744, allocations: 1.105 MB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.7745, allocations: 0 / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.7746, allocations: 3.938 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.74e-05/0.7746, allocations: 11.92 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.7751, allocations: 116.8 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.7753, allocations: 91.83 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.7754, allocations: 7.938 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.621e-05/0.7754, allocations: 39.95 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.304e-05/0.7755, allocations: 27.91 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.7755, allocations: 8 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.862e-05/0.7756, allocations: 19.98 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.7757, allocations: 4 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.7757, allocations: 27.92 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.7759, allocations: 83.78 kB / 1.02 GB, free: 360 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7759, allocations: 0 / 1.02 GB, free: 360 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7759, allocations: 0 / 1.02 GB, free: 360 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.7759, allocations: 0 / 1.02 GB, free: 360 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004616/0.7764, allocations: 383.4 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.7764, allocations: 8.031 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.7764, allocations: 30.75 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.7765, allocations: 12.78 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.7766, allocations: 180.2 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.7766, allocations: 384 / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.7767, allocations: 8.375 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.148e-05/0.7768, allocations: 38.25 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.7768, allocations: 3.938 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.7768, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.7768, allocations: 4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.234e-05/0.7768, allocations: 4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.7772, allocations: 280.9 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.7772, allocations: 30.45 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.7773, allocations: 12.91 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.7773, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.7774, allocations: 59.41 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.7774, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001818/0.7776, allocations: 69.52 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.7776, allocations: 51.41 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.147e-05/0.7777, allocations: 105.8 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.7777, allocations: 29.7 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.7778, allocations: 88.14 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.067e-05/0.7778, allocations: 7.906 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.7779, allocations: 29.7 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.778, allocations: 318.8 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.172e-05/0.7781, allocations: 27.98 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.167e-05/0.7782, allocations: 50.81 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.7783, allocations: 92.38 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7783, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002427/0.7785, allocations: 147.3 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.7786, allocations: 33.7 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.7786, allocations: 3.984 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.7786, allocations: 0 / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.824e-05/0.7786, allocations: 4 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.7787, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.7789, allocations: 28.06 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.7789, allocations: 8 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.0001065/0.779, allocations: 121.7 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.779, allocations: 7.906 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.7791, allocations: 7.906 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.7791, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7791, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7791, allocations: 3.938 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.7792, allocations: 169.6 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7792, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-06/0.7792, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.7792, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.7793, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7793, allocations: 4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7793, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.7794, allocations: 77.06 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.7794, allocations: 85 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.7794, allocations: 8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.395e-05/0.7795, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.7795, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.7795, allocations: 7.938 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.389e-05/0.7796, allocations: 91.27 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7796, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002066/0.7798, allocations: 16 kB / 1.022 GB, free: 13.28 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 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0003945/0.7802, allocations: 0.6202 MB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.7804, allocations: 119.3 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7804, allocations: 3.938 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.768e-05/0.7804, allocations: 12 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.7806, allocations: 11.59 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.782, allocations: 1.362 MB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.7822, allocations: 0.6768 MB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.891e-05/0.7822, allocations: 4 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.7823, allocations: 15.38 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7823, allocations: 4 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.8017, allocations: 1.943 MB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.257/10.06, allocations: 11.69 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches