Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001535/0.001535, allocations: 107 kB / 16.36 MB, free: 6.285 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.001717/0.001717, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.69 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3229, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001963/0.3249, allocations: 0.6029 MB / 0.9517 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.3263, allocations: 1.118 MB / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.3264, allocations: 0 / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.3264, allocations: 0 / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.521e-05/0.3265, allocations: 3.938 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.327, allocations: 126.8 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.3272, allocations: 99.88 kB / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.851e-05/0.3273, allocations: 7.984 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.421e-05/0.3274, allocations: 35.92 kB / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.3275, allocations: 35.94 kB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.3275, allocations: 8 kB / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.881e-05/0.3276, allocations: 19.92 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.3276, allocations: 11.94 kB / 0.9531 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.3277, allocations: 23.92 kB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.3278, allocations: 79.84 kB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.3278, allocations: 0 / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.015e-06/0.3278, allocations: 0 / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3279, allocations: 0 / 0.9532 GB, free: 5.875 MB / 0.7325 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.0004748/0.3283, allocations: 381 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3284, allocations: 8.031 kB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.3284, allocations: 8.844 kB / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.3286, allocations: 164.4 kB / 0.9538 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3286, allocations: 4.375 kB / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3286, allocations: 12.3 kB / 0.9538 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.114e-05/0.3287, allocations: 34.27 kB / 0.9538 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.3287, allocations: 192 / 0.9538 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3287, allocations: 3.938 kB / 0.9538 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3288, allocations: 7.938 kB / 0.9538 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.562e-05/0.3288, allocations: 11.98 kB / 0.9538 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.3292, allocations: 280.9 kB / 0.9541 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.534e-05/0.3292, allocations: 26.5 kB / 0.9541 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.558e-05/0.3292, allocations: 4.859 kB / 0.9541 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.3293, allocations: 4.062 kB / 0.9541 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.3294, allocations: 63.33 kB / 0.9542 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3294, allocations: 0 / 0.9542 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000179/0.3296, allocations: 65.59 kB / 0.9543 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.3296, allocations: 55.39 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.714e-05/0.3297, allocations: 101.9 kB / 0.9544 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.3298, allocations: 33.7 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.3298, allocations: 88.11 kB / 0.9545 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.3298, allocations: 7.906 kB / 0.9545 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.3299, allocations: 37.64 kB / 0.9546 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.33, allocations: 314.8 kB / 0.9549 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.601e-05/0.3301, allocations: 27.98 kB / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.545e-05/0.3302, allocations: 50.55 kB / 0.9549 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.389e-05/0.3303, allocations: 72.28 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3303, allocations: 7.938 kB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002355/0.3305, allocations: 147.3 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.3306, allocations: 37.64 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3306, allocations: 0 / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3306, allocations: 0 / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.589e-05/0.3306, allocations: 320 / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3307, allocations: 4 kB / 0.9552 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.3309, allocations: 39.98 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.3309, allocations: 11.94 kB / 0.9552 GB, free: 3.531 MB / 0.7325 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 8.389e-05/0.331, allocations: 117.3 kB / 0.9554 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.331, allocations: 7.906 kB / 0.9554 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.331, allocations: 7.906 kB / 0.9554 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.331, allocations: 0 / 0.9554 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.331, allocations: 0 / 0.9554 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.331, allocations: 3.984 kB / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.3312, allocations: 161.6 kB / 0.9555 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3312, allocations: 0 / 0.9555 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-06/0.3312, allocations: 4 kB / 0.9555 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3312, allocations: 0 / 0.9555 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.3312, allocations: 3.938 kB / 0.9555 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3312, allocations: 0 / 0.9555 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3312, allocations: 0 / 0.9555 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.714e-05/0.3313, allocations: 88.98 kB / 0.9556 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.3314, allocations: 81.3 kB / 0.9557 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.3314, allocations: 0 / 0.9557 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.626e-05/0.3314, allocations: 8 kB / 0.9557 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.3314, allocations: 7.969 kB / 0.9557 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3314, allocations: 4 kB / 0.9557 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.3315, allocations: 83.28 kB / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3315, allocations: 0 / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000199/0.3317, allocations: 12 kB / 0.9558 GB, free: 2.852 MB / 0.7325 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.0001362/0.3318, allocations: 111.2 kB / 0.9559 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.332, allocations: 123.3 kB / 0.956 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.332, allocations: 0 / 0.956 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.3321, allocations: 12 kB / 0.956 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.3323, allocations: 13.8 kB / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.3325, allocations: 114.2 kB / 0.9562 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.3328, allocations: 0.6883 MB / 0.9568 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.685e-05/0.3328, allocations: 0 / 0.9568 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.3329, allocations: 15.62 kB / 0.9569 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.3329, allocations: 0 / 0.9569 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of Templates: time 0.00324/0.3361, allocations: 1.073 MB / 0.9579 GB, free: 0.6484 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches