Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001271/0.00127, allocations: 110 kB / 15.99 MB, free: 6.75 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.001299/0.001299, allocations: 199.2 kB / 16.91 MB, free: 6.523 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.324/1.324, allocations: 222.9 MB / 240.6 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.665/2.665, allocations: 469.8 MB / 0.7427 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001838, allocations: 72.08 kB / 0.9087 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3088, allocations: 159.2 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002059/0.3109, allocations: 0.6424 MB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.3124, allocations: 1.114 MB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.3125, allocations: 4 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.3125, allocations: 0 / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.468e-05/0.3126, allocations: 11.91 kB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.3131, allocations: 106.4 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.3132, allocations: 99.77 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.3133, allocations: 8 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.3134, allocations: 35.95 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.3135, allocations: 23.91 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.3135, allocations: 8 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.111e-05/0.3136, allocations: 20 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.3136, allocations: 7.922 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.3137, allocations: 31.92 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.3138, allocations: 59.88 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3138, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3139, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3139, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 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.000568/0.3144, allocations: 377.4 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.3145, allocations: 12.03 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.3146, allocations: 4.938 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.3147, allocations: 168.3 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3147, allocations: 8.375 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.3148, allocations: 4.375 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.3149, allocations: 38.25 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3149, allocations: 192 / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3149, allocations: 3.938 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3149, allocations: 0 / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.981e-05/0.315, allocations: 4 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.3154, allocations: 288.9 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.071e-05/0.3154, allocations: 30.39 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.3155, allocations: 20.91 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.3155, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.3157, allocations: 59.31 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3157, allocations: 0 / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002095/0.3159, allocations: 61.61 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.316, allocations: 63.41 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3161, allocations: 109.8 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.3161, allocations: 25.7 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.3162, allocations: 84.14 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.3162, allocations: 11.89 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/0.3163, allocations: 29.7 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3165, allocations: 314.8 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.119e-05/0.3166, allocations: 27.98 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.552e-05/0.3166, allocations: 50.56 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3168, allocations: 84.2 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3168, allocations: 3.938 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002598/0.317, allocations: 139.3 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/0.3171, allocations: 38.8 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3171, allocations: 8.078 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3171, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.625e-05/0.3172, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3172, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.3174, allocations: 35.75 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.3174, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 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.0001128/0.3175, allocations: 125.7 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.3176, allocations: 8.234 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.3176, allocations: 7.891 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3176, allocations: 0 / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.3176, allocations: 0 / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3176, allocations: 4 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.3178, allocations: 161.6 kB / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3178, allocations: 0 / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-06/0.3178, allocations: 0 / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3178, allocations: 0 / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3178, allocations: 4 kB / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3178, allocations: 3.938 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3178, allocations: 4 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.3179, allocations: 77.06 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.318, allocations: 85.02 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.318, allocations: 7.984 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.368e-05/0.318, allocations: 0 / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.318, allocations: 0 / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3181, allocations: 8.25 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.3181, allocations: 91.27 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3181, allocations: 0 / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000204/0.3183, allocations: 20 kB / 1.069 GB, free: 9.355 MB / 0.8262 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.0001687/0.3185, allocations: 95.25 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.3187, allocations: 119.4 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3187, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.3188, allocations: 15.92 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.319, allocations: 20.69 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.3193, allocations: 140.5 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.3197, allocations: 0.6807 MB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.712e-05/0.3197, allocations: 7.438 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3197, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of Templates: time 0.002728/0.3224, allocations: 0.8955 MB / 1.071 GB, free: 7.32 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches