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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001553/0.001552, allocations: 114.5 kB / 16.42 MB, free: 6.012 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.001834/0.001834, allocations: 182.3 kB / 17.35 MB, free: 5.629 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.43/1.43, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9331/0.9345, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001867/0.9364, allocations: 0.6059 MB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.938, allocations: 1.106 MB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.9381, allocations: 1.219 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.9381, allocations: 4.547 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.017e-05/0.9382, allocations: 5.547 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.9388, allocations: 123.2 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.9389, allocations: 94.36 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.72e-05/0.9391, allocations: 8.641 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.664e-05/0.9392, allocations: 29.67 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.9393, allocations: 34.39 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.9393, allocations: 11.59 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.561e-05/0.9394, allocations: 22.39 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.9395, allocations: 2.266 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.867e-05/0.9395, allocations: 30.72 kB / 1.091 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.9398, allocations: 82.44 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.9398, allocations: 0 / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.905e-06/0.9398, allocations: 0.8438 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.9398, allocations: 0 / 1.091 GB, free: 4.156 MB / 0.8575 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.0005174/0.9403, allocations: 380.4 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.9404, allocations: 12.78 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.9405, allocations: 6.172 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.9406, allocations: 162.4 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.9406, allocations: 3.766 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.9406, allocations: 4.531 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.9407, allocations: 39.27 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.9408, allocations: 4.125 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.9408, allocations: 5.703 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.9408, allocations: 0 / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.826e-05/0.9408, allocations: 7.688 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.9412, allocations: 294.9 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.121e-05/0.9413, allocations: 27.14 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.9413, allocations: 11.44 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-06/0.9413, allocations: 0 / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.9415, allocations: 66.59 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.9415, allocations: 4 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002026/0.9417, allocations: 61.2 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.9417, allocations: 52.11 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.9418, allocations: 105.9 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.9418, allocations: 27.75 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.9419, allocations: 87.75 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.9419, allocations: 5.031 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.942, allocations: 29.98 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.805e-05/0.942, allocations: 317.6 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.9421, allocations: 31.62 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.504e-05/0.9422, allocations: 49.27 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.494e-05/0.9423, allocations: 78.75 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9423, allocations: 0.6562 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002398/0.9425, allocations: 146.3 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.9426, allocations: 40.03 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.9426, allocations: 0 / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.9426, allocations: 2.75 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-05/0.9426, allocations: 4.5 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.9426, allocations: 2.016 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.9429, allocations: 30.23 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.9429, allocations: 5.609 kB / 1.093 GB, free: 2.199 MB / 0.8575 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 6.915e-05/0.943, allocations: 123.9 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.943, allocations: 5.875 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.943, allocations: 6.5 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.943, allocations: 0.6562 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.943, allocations: 0 / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.9431, allocations: 79.83 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.9431, allocations: 0.75 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.636e-05/0.9431, allocations: 5.906 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.9431, allocations: 10.2 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.508e-05/0.9432, allocations: 128.4 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001117/0.9434, allocations: 230.9 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.114e-05/0.9434, allocations: 15.11 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.805e-05/0.9434, allocations: 89.27 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of Backend: time 1.7e-07/0.9434, allocations: 0.5938 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004977/0.9439, allocations: 194.6 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000429/0.9444, allocations: 0.5784 MB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of Templates: time 0.004145/0.9485, allocations: 1.093 MB / 1.095 GB, free: 0.6641 MB / 0.8575 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 -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