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.001545/0.001545, 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.001864/0.001864, allocations: 196.9 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.713/2.713, allocations: 437 MB / 0.7103 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7133/0.7146, allocations: 151.6 MB / 1.017 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002293/0.717, allocations: 0.587 MB / 1.018 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.7186, allocations: 1.109 MB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.7187, allocations: 4 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.7188, allocations: 7.938 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.424e-05/0.7188, allocations: 3.938 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005528/0.7194, allocations: 115.5 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.7195, allocations: 91.83 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.7197, allocations: 11.98 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.7197, allocations: 35.91 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.352e-05/0.7198, allocations: 27.91 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.7199, allocations: 8 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-05/0.72, allocations: 19.98 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.72, allocations: 4 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.72, allocations: 27.91 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.7202, allocations: 87.78 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7202, allocations: 0 / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7203, allocations: 4 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.7203, allocations: 3.938 kB / 1.019 GB, free: 0.5 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005012/0.7208, allocations: 379.3 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.7208, allocations: 8.031 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/0.7209, allocations: 16.78 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.721, allocations: 168.3 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.7211, allocations: 4.359 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.7211, allocations: 8.375 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.817e-05/0.7212, allocations: 38.27 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.7212, allocations: 192 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.7212, allocations: 7.922 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.7212, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.596e-05/0.7213, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.7217, allocations: 284.8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.641e-05/0.7218, allocations: 22.52 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.7218, allocations: 16.92 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.7218, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.722, allocations: 59.39 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.722, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002085/0.7223, allocations: 65.52 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.7223, allocations: 55.41 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/0.7224, allocations: 101.9 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.7224, allocations: 37.69 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.7225, allocations: 84.14 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.7225, allocations: 7.906 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.7226, allocations: 29.7 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.7227, allocations: 310.8 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.7228, allocations: 27.98 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.622e-05/0.7229, allocations: 50.55 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.723, allocations: 88.2 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.723, allocations: 3.938 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002491/0.7232, allocations: 139.5 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.7233, allocations: 43.36 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.7233, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.7233, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.863e-05/0.7233, allocations: 3.984 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.7234, allocations: 8.094 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.7236, allocations: 27.95 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.7236, allocations: 4 kB / 1.021 GB, free: 14.17 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.0001037/0.7237, allocations: 121.7 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.7238, allocations: 11.89 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.7238, allocations: 7.844 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.7238, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.7238, allocations: 4.312 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7238, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.7239, allocations: 169.6 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.724, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-06/0.724, allocations: 3.984 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.724, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.724, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.724, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.724, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.7241, allocations: 77.06 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.7242, allocations: 81.11 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.7242, allocations: 7.938 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.638e-05/0.7242, allocations: 3.984 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.7243, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.7243, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.365e-05/0.7243, allocations: 83.28 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7243, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000218/0.7245, allocations: 19.89 kB / 1.022 GB, free: 13.48 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.0001724/0.7247, allocations: 103.2 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.7249, allocations: 123.3 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.725, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.501e-05/0.725, allocations: 8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.7252, allocations: 15.92 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.7255, allocations: 122.3 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.7258, allocations: 0.6845 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.008e-05/0.7258, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.7258, allocations: 11.44 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7258, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.003602/0.7294, allocations: 1.078 MB / 1.024 GB, free: 11.28 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=480 -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