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.009567/0.009567, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001913/0.001913, allocations: 197.2 kB / 16.67 MB, free: 5.973 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.997/2.997, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4125, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002316/0.4149, allocations: 0.5951 MB / 1.167 GB, free: 6.203 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.4168, allocations: 1.121 MB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.4169, allocations: 4 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.417, allocations: 0 / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.423e-05/0.4171, allocations: 3.938 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006534/0.4177, allocations: 123.3 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.4179, allocations: 91.88 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.418, allocations: 11.98 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/0.4181, allocations: 27.98 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.4183, allocations: 31.89 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.4183, allocations: 8 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.513e-05/0.4184, allocations: 27.92 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.4184, allocations: 3.984 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.374e-05/0.4185, allocations: 35.92 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.4187, allocations: 79.72 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4187, allocations: 4 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4187, allocations: 0 / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.4187, allocations: 0 / 1.169 GB, free: 4.625 MB / 0.92 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.0006133/0.4194, allocations: 377.1 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.4194, allocations: 8.031 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.4195, allocations: 8.891 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.4196, allocations: 164.4 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.4197, allocations: 4.375 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.4197, allocations: 8.375 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.4198, allocations: 38.25 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.4199, allocations: 192 / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.4199, allocations: 15.81 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4199, allocations: 0 / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.118e-05/0.4199, allocations: 4 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.4204, allocations: 280.9 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.151e-05/0.4205, allocations: 26.52 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.4205, allocations: 8.859 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.4205, allocations: 7.969 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.4207, allocations: 59.41 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 2.204e-06/0.4207, allocations: 3.938 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002073/0.4209, allocations: 69.62 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.421, allocations: 55.41 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.4211, allocations: 109.8 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.4211, allocations: 25.7 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.4212, allocations: 88.14 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.4212, allocations: 11.88 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/0.4213, allocations: 29.7 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4214, allocations: 314.8 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.4215, allocations: 31.97 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-05/0.4216, allocations: 50.56 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.4217, allocations: 80.27 kB / 1.17 GB, free: 2.531 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.4217, allocations: 3.938 kB / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002431/0.4219, allocations: 139.2 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.422, allocations: 37.7 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.422, allocations: 96 / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.422, allocations: 11.98 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.586e-05/0.4221, allocations: 0 / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4221, allocations: 0 / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.4223, allocations: 27.92 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.4223, allocations: 8 kB / 1.171 GB, free: 2.289 MB / 0.92 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.000142/0.4225, allocations: 121.7 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.4225, allocations: 0 / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.4225, allocations: 11.89 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4225, allocations: 4 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4225, allocations: 0 / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4225, allocations: 0 / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.4227, allocations: 157.6 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.4227, allocations: 3.938 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.175e-06/0.4227, allocations: 4 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.4227, allocations: 3.984 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.4227, allocations: 4 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4227, allocations: 0 / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4227, allocations: 0 / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.4229, allocations: 92.95 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.423, allocations: 77.11 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.423, allocations: 0 / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.789e-05/0.423, allocations: 4.297 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.4231, allocations: 4.281 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.4231, allocations: 4 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.701e-05/0.4231, allocations: 83.28 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4231, allocations: 4 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002138/0.4233, allocations: 19.94 kB / 1.171 GB, free: 1.598 MB / 0.92 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.0001511/0.4235, allocations: 103.2 kB / 1.171 GB, free: 1.488 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.4237, allocations: 123.3 kB / 1.171 GB, free: 1.355 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4237, allocations: 0 / 1.171 GB, free: 1.355 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.851e-05/0.4238, allocations: 7.984 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.424, allocations: 24.05 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.4243, allocations: 118 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.4246, allocations: 0.6845 MB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.405e-05/0.4247, allocations: 0 / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.016e-05/0.4247, allocations: 11.44 kB / 1.172 GB, free: 472 kB / 0.92 GB Notification: Performance of SimCode: time 5.61e-07/0.4247, allocations: 0 / 1.172 GB, free: 472 kB / 0.92 GB Notification: Performance of Templates: time 0.004199/0.4289, allocations: 1.071 MB / 1.173 GB, free: 15.4 MB / 0.9356 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