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.001282/0.001282, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001383/0.001383, allocations: 192.4 kB / 16.25 MB, free: 6.633 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.314/1.314, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.442/2.442, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 59.91 kB / 0.8689 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6502/0.6516, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002013/0.6537, allocations: 0.6635 MB / 1.018 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.6551, allocations: 1.105 MB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.6551, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.6552, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.6552, allocations: 7.969 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.6557, allocations: 111.7 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.6559, allocations: 87.89 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.654e-05/0.656, allocations: 8 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.543e-05/0.6561, allocations: 39.84 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.466e-05/0.6562, allocations: 27.91 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.6562, allocations: 8 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.944e-05/0.6563, allocations: 19.98 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.6563, allocations: 11.98 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.368e-05/0.6564, allocations: 23.92 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.6565, allocations: 83.78 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6565, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6566, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.6566, allocations: 0 / 1.019 GB, free: 500 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.0004517/0.657, allocations: 380.8 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.6571, allocations: 8.031 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.6571, allocations: 30.75 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.6571, allocations: 12.84 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.6573, allocations: 172.4 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.6573, allocations: 4.375 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.6573, allocations: 12.22 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.401e-05/0.6574, allocations: 42.19 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-06/0.6574, allocations: 3.938 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.6574, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.6574, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.6575, allocations: 7.984 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.6578, allocations: 284.9 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/0.6579, allocations: 26.45 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/0.6579, allocations: 12.92 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-06/0.6579, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.658, allocations: 59.39 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.6581, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001741/0.6582, allocations: 69.52 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.6583, allocations: 55.41 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/0.6584, allocations: 101.8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.6584, allocations: 29.7 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.6584, allocations: 88.12 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.6585, allocations: 7.906 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.6585, allocations: 29.7 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.6586, allocations: 314.8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.6587, allocations: 31.98 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-05/0.6588, allocations: 46.55 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.6589, allocations: 84.16 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6589, allocations: 3.938 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002319/0.6591, allocations: 147.3 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.6592, allocations: 37.7 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6592, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.6592, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-05/0.6592, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.6592, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.6594, allocations: 27.95 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.6595, allocations: 4 kB / 1.021 GB, free: 14.11 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 9.077e-05/0.6596, allocations: 122.4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.6596, allocations: 7.906 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.6596, allocations: 3.906 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6596, allocations: 3.984 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6596, allocations: 3.938 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.6597, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.6598, allocations: 161.6 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6598, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-06/0.6598, allocations: 320 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6598, allocations: 3.938 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.6598, allocations: 16 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6598, allocations: 3.984 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6598, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.778e-05/0.6599, allocations: 77.06 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.66, allocations: 85.02 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.66, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.505e-05/0.66, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.6601, allocations: 3.984 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.6601, allocations: 8 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.745e-05/0.6601, allocations: 83.28 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.733e-06/0.6601, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002051/0.6603, allocations: 19.94 kB / 1.022 GB, free: 13.42 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.000414/0.6608, allocations: 0.6124 MB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.661, allocations: 127.3 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.661, allocations: 0 / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.279e-05/0.661, allocations: 16.31 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.6612, allocations: 7.938 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.6626, allocations: 1.376 MB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.6629, allocations: 0.6729 MB / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.491e-05/0.6629, allocations: 7.984 kB / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.6629, allocations: 11.44 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6629, allocations: 0 / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06672/0.7296, allocations: 1.862 MB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.7299, allocations: 206.3 kB / 1.026 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.448, allocations: 3.938 kB / 1.026 GB, free: 8.434 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