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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001815/0.001815, allocations: 195.9 kB / 16.25 MB, free: 6.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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.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.395/2.395, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5937/0.5952, allocations: 140.4 MB / 0.9492 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001848/0.5971, allocations: 0.6479 MB / 0.9499 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.5983, allocations: 1.102 MB / 0.951 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.5984, allocations: 0.875 kB / 0.951 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.5984, allocations: 0 / 0.951 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.684e-05/0.5985, allocations: 13.25 kB / 0.951 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.599, allocations: 105.6 kB / 0.9511 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.5992, allocations: 101.2 kB / 0.9512 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.5993, allocations: 3.062 kB / 0.9512 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.814e-05/0.5994, allocations: 36.81 kB / 0.9512 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/0.5995, allocations: 26.52 kB / 0.9512 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.5995, allocations: 7.25 kB / 0.9512 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.561e-05/0.5996, allocations: 19.12 kB / 0.9513 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.5996, allocations: 9.297 kB / 0.9513 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.5997, allocations: 33.09 kB / 0.9513 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.5998, allocations: 79.44 kB / 0.9514 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.5998, allocations: 1.406 kB / 0.9514 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5998, allocations: 3.938 kB / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.5999, allocations: 0 / 0.9514 GB, free: 7.473 MB / 0.7169 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.000455/0.6003, allocations: 377.9 kB / 0.9517 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.6004, allocations: 10.28 kB / 0.9517 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.6004, allocations: 30.75 kB / 0.9518 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.6005, allocations: 5.562 kB / 0.9518 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.311e-05/0.6006, allocations: 169.8 kB / 0.9519 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.6006, allocations: 11.19 kB / 0.9519 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.6006, allocations: 8.578 kB / 0.952 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.32e-05/0.6007, allocations: 36.42 kB / 0.952 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.6007, allocations: 7.922 kB / 0.952 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.6007, allocations: 0 / 0.952 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6008, allocations: 0 / 0.952 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.567e-05/0.6008, allocations: 7.266 kB / 0.952 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.6011, allocations: 286.3 kB / 0.9523 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.037e-05/0.6012, allocations: 29.3 kB / 0.9523 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.668e-05/0.6012, allocations: 8.109 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.6012, allocations: 0 / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.6014, allocations: 58.98 kB / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.6014, allocations: 0 / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002105/0.6016, allocations: 66.88 kB / 0.9524 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.6017, allocations: 60.86 kB / 0.9525 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.6018, allocations: 102.3 kB / 0.9526 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.6018, allocations: 26.98 kB / 0.9526 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.6018, allocations: 90.88 kB / 0.9527 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.6019, allocations: 5.188 kB / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.6019, allocations: 30.02 kB / 0.9527 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.59e-05/0.602, allocations: 312.2 kB / 0.953 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.6021, allocations: 35.05 kB / 0.9531 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.812e-05/0.6022, allocations: 51.17 kB / 0.9531 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.6023, allocations: 87.92 kB / 0.9532 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6023, allocations: 0 / 0.9532 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002503/0.6025, allocations: 138.5 kB / 0.9533 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.6026, allocations: 39.3 kB / 0.9534 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6026, allocations: 5.438 kB / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.6026, allocations: 0 / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-05/0.6026, allocations: 1.562 kB / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.6027, allocations: 1.375 kB / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.6029, allocations: 33.05 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.6029, allocations: 3.188 kB / 0.9534 GB, free: 5.371 MB / 0.7169 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 7.432e-05/0.603, allocations: 122.7 kB / 0.9535 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.603, allocations: 10.69 kB / 0.9535 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.603, allocations: 7.891 kB / 0.9535 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.603, allocations: 5.188 kB / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6031, allocations: 0 / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6031, allocations: 1.094 kB / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.736e-05/0.6031, allocations: 163 kB / 0.9537 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6032, allocations: 0 / 0.9537 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.126e-06/0.6032, allocations: 1.188 kB / 0.9537 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.6032, allocations: 0 / 0.9537 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.6032, allocations: 4.953 kB / 0.9537 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6032, allocations: 4.938 kB / 0.9537 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6032, allocations: 240 / 0.9537 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.468e-05/0.6033, allocations: 83.39 kB / 0.9538 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.6033, allocations: 78.64 kB / 0.9539 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.6033, allocations: 0 / 0.9539 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.6034, allocations: 1 kB / 0.9539 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.6034, allocations: 5.078 kB / 0.9539 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.6034, allocations: 2.188 kB / 0.9539 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.026e-05/0.6034, allocations: 92.38 kB / 0.954 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6035, allocations: 3.938 kB / 0.954 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002234/0.6037, allocations: 14.38 kB / 0.954 GB, free: 4.738 MB / 0.7169 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.0002987/0.604, allocations: 0.6248 MB / 0.9546 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.6042, allocations: 127.8 kB / 0.9547 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6042, allocations: 0 / 0.9547 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.6042, allocations: 15.86 kB / 0.9547 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.6045, allocations: 4.25 kB / 0.9547 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.6057, allocations: 1.363 MB / 0.9561 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.6059, allocations: 0.6823 MB / 0.9567 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.685e-05/0.6059, allocations: 3.031 kB / 0.9567 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.6059, allocations: 12.81 kB / 0.9568 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of SimCode: time 1.072e-06/0.6059, allocations: 0 / 0.9568 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06069/0.6666, allocations: 1.856 MB / 0.9586 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.6669, allocations: 212.8 kB / 0.9588 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.524, allocations: 0 / 0.9588 GB, free: 0.793 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > 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