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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008412/0.008412, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.587/1.587, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.938/2.938, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005244/0.0005245, allocations: 12 kB / 0.8729 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7142/0.7147, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.000977/0.7158, allocations: 324.4 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002298/0.7181, allocations: 1.117 MB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.7181, allocations: 0 / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.7182, allocations: 3.938 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.58e-05/0.7183, allocations: 7.984 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005906/0.7189, allocations: 111.7 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.719, allocations: 71.89 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.7192, allocations: 7.984 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.426e-05/0.7193, allocations: 35.91 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.704e-05/0.7194, allocations: 19.91 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.7194, allocations: 4 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.739e-05/0.7195, allocations: 23.92 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.7196, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.213e-05/0.7197, allocations: 53.62 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.7199, allocations: 79.77 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7199, allocations: 0 / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7199, allocations: 0 / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.7199, allocations: 3.938 kB / 1.025 GB, free: 14 MB / 0.7794 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.0005207/0.7204, allocations: 367.2 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.7205, allocations: 8.031 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.7205, allocations: 4.938 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.7207, allocations: 172.2 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.7207, allocations: 8.375 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.7207, allocations: 8.359 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.7209, allocations: 34.27 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.7209, allocations: 192 / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.7209, allocations: 7.938 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.7209, allocations: 4 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.888e-05/0.7209, allocations: 11.92 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.7214, allocations: 280.9 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.731e-05/0.7215, allocations: 26.52 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.7215, allocations: 8.859 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.7215, allocations: 0 / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.7217, allocations: 63.39 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.7217, allocations: 0 / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002033/0.7219, allocations: 57.69 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.7219, allocations: 59.39 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.722, allocations: 109.8 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.7221, allocations: 25.7 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.7221, allocations: 88.12 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.7222, allocations: 7.906 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.7222, allocations: 13.72 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.7224, allocations: 318.8 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/0.7225, allocations: 31.91 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.25e-05/0.7225, allocations: 50.56 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.7227, allocations: 80.27 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7227, allocations: 3.938 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002613/0.723, allocations: 139.3 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/0.723, allocations: 37.64 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.723, allocations: 4.094 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/0.7231, allocations: 4.234 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.387e-05/0.7231, allocations: 7.922 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.7231, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.7234, allocations: 35.97 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.7234, allocations: 8 kB / 1.027 GB, free: 11.69 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.0001095/0.7235, allocations: 118.3 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.7235, allocations: 15.88 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.7236, allocations: 7.906 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.7236, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7236, allocations: 3.938 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.7236, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.7237, allocations: 161.6 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.7238, allocations: 3.984 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-06/0.7238, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7238, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.7238, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7238, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7238, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.7239, allocations: 81 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.724, allocations: 77.42 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.724, allocations: 7.984 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.569e-05/0.724, allocations: 4 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.724, allocations: 4 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.7241, allocations: 4 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.358e-05/0.7241, allocations: 87.27 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7241, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002041/0.7243, allocations: 12 kB / 1.027 GB, free: 11.01 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.0001618/0.7245, allocations: 99.25 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.7247, allocations: 123.3 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7247, allocations: 4.188 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/0.7248, allocations: 12 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.725, allocations: 11.92 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.7253, allocations: 130.8 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.7256, allocations: 0.677 MB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.253e-05/0.7256, allocations: 8 kB / 1.028 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.403e-05/0.7257, allocations: 7.438 kB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of SimCode: time 2.315e-06/0.7257, allocations: 0 / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of Templates: time 0.003933/0.7296, allocations: 1.032 MB / 1.029 GB, free: 8.852 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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