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.001545/0.001545, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00191/0.001911, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.401/2.401, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5854/0.5867, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001675/0.5884, allocations: 0.5849 MB / 0.9503 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.5895, allocations: 1.108 MB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.5895, allocations: 0 / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.5896, allocations: 5.469 kB / 0.9514 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.738e-05/0.5896, allocations: 7.922 kB / 0.9514 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.59, allocations: 119.4 kB / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.5901, allocations: 88.98 kB / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.396e-05/0.5902, allocations: 11.5 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.637e-05/0.5903, allocations: 40.27 kB / 0.9516 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.358e-05/0.5903, allocations: 22.47 kB / 0.9517 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.5904, allocations: 8.344 kB / 0.9517 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.844e-05/0.5904, allocations: 17.95 kB / 0.9517 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.5905, allocations: 13.16 kB / 0.9517 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.5905, allocations: 26.05 kB / 0.9517 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.5907, allocations: 80.16 kB / 0.9518 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.5907, allocations: 0 / 0.9518 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5907, allocations: 0 / 0.9518 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.5907, allocations: 0 / 0.9518 GB, free: 7.57 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.0003581/0.591, allocations: 383 kB / 0.9522 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.5911, allocations: 8.875 kB / 0.9522 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.469e-05/0.5911, allocations: 35.75 kB / 0.9522 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.5912, allocations: 8.562 kB / 0.9522 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.318e-05/0.5913, allocations: 185.8 kB / 0.9524 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.5913, allocations: 3.344 kB / 0.9524 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.5913, allocations: 5.25 kB / 0.9524 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.018e-05/0.5914, allocations: 34.77 kB / 0.9524 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.5914, allocations: 11.92 kB / 0.9524 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.5914, allocations: 1.656 kB / 0.9524 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.5914, allocations: 0 / 0.9524 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.923e-05/0.5914, allocations: 3.594 kB / 0.9525 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.5917, allocations: 285.6 kB / 0.9527 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.295e-05/0.5917, allocations: 21.7 kB / 0.9527 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.5918, allocations: 12.11 kB / 0.9528 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.5918, allocations: 4 kB / 0.9528 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/0.5919, allocations: 58.45 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.5919, allocations: 0 / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001456/0.592, allocations: 67.11 kB / 0.9529 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.5921, allocations: 52.78 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.494e-05/0.5921, allocations: 108.9 kB / 0.953 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.5922, allocations: 28.36 kB / 0.9531 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.864e-05/0.5922, allocations: 86.55 kB / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.717e-06/0.5922, allocations: 9.125 kB / 0.9532 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.5923, allocations: 29.7 kB / 0.9532 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.965e-05/0.5923, allocations: 312.1 kB / 0.9535 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.396e-05/0.5924, allocations: 26.86 kB / 0.9535 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.776e-05/0.5924, allocations: 52.02 kB / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.542e-05/0.5925, allocations: 87.92 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5925, allocations: 0 / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002044/0.5928, allocations: 143 kB / 0.9538 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.5928, allocations: 36.67 kB / 0.9538 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.5928, allocations: 0 / 0.9538 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.5928, allocations: 1.484 kB / 0.9538 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-05/0.5928, allocations: 5.422 kB / 0.9538 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.5928, allocations: 1.562 kB / 0.9538 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.593, allocations: 31.84 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.5931, allocations: 9.578 kB / 0.9539 GB, free: 5.453 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 5.826e-05/0.5931, allocations: 121.8 kB / 0.954 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.5932, allocations: 18.25 kB / 0.954 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.755e-05/0.5932, allocations: 3.906 kB / 0.954 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5932, allocations: 1.625 kB / 0.954 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.5932, allocations: 0 / 0.954 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.5932, allocations: 4 kB / 0.954 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.455e-05/0.5933, allocations: 159.6 kB / 0.9542 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5933, allocations: 1.438 kB / 0.9542 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-06/0.5933, allocations: 7.984 kB / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.5933, allocations: 0.9062 kB / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.5933, allocations: 0 / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5933, allocations: 1.312 kB / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5933, allocations: 0 / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.612e-05/0.5934, allocations: 82.66 kB / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.5934, allocations: 78.2 kB / 0.9543 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.5934, allocations: 5.109 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.521e-05/0.5934, allocations: 9.094 kB / 0.9543 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.5935, allocations: 1.375 kB / 0.9543 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.5935, allocations: 1.344 kB / 0.9543 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.217e-05/0.5935, allocations: 80.72 kB / 0.9544 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5935, allocations: 0 / 0.9544 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002023/0.5937, allocations: 22.7 kB / 0.9544 GB, free: 4.82 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.0002398/0.594, allocations: 0.6212 MB / 0.955 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.5941, allocations: 122.2 kB / 0.9552 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5942, allocations: 1.438 kB / 0.9552 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.417e-05/0.5942, allocations: 7.312 kB / 0.9552 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.5944, allocations: 17.02 kB / 0.9552 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000981/0.5954, allocations: 1.363 MB / 0.9565 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.029e-05/0.5955, allocations: 0.6855 MB / 0.9572 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.954e-05/0.5955, allocations: 2.625 kB / 0.9572 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.5955, allocations: 18.19 kB / 0.9572 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5955, allocations: 0 / 0.9572 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.6126, allocations: 1.94 MB / 0.9591 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/8.092, allocations: 11.58 kB / 0.9591 GB, free: 1 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