Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_11_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.006572/0.006572, allocations: 97.81 kB / 15.73 MB, free: 5.961 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.001793/0.001793, allocations: 195.7 kB / 16.67 MB, free: 5.883 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.555/2.555, allocations: 469.8 MB / 0.7425 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 63.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6841/0.6859, allocations: 159.1 MB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001601/0.6876, allocations: 0.5925 MB / 1.221 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.6889, allocations: 1.12 MB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.6889, allocations: 0 / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.389e-05/0.689, allocations: 4 kB / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.581e-05/0.689, allocations: 3.938 kB / 1.222 GB, free: 288 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.6895, allocations: 123 kB / 1.222 GB, free: 168 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.6896, allocations: 99.86 kB / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.851e-05/0.6897, allocations: 4 kB / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.211e-05/0.6898, allocations: 35.92 kB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.896e-05/0.6899, allocations: 27.95 kB / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.6899, allocations: 8.125 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.648e-05/0.69, allocations: 27.91 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.69, allocations: 7.938 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.69, allocations: 27.91 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.6902, allocations: 75.86 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.6902, allocations: 4 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6902, allocations: 3.938 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.6902, allocations: 0 / 1.222 GB, free: 15.84 MB / 0.9512 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.0004428/0.6907, allocations: 376.8 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.6907, allocations: 8.031 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.89e-05/0.6907, allocations: 30.75 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.6908, allocations: 12.88 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.6909, allocations: 168.3 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.6909, allocations: 384 / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.6909, allocations: 8.375 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.943e-05/0.691, allocations: 42.25 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.691, allocations: 3.938 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.6911, allocations: 0 / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6911, allocations: 0 / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.6911, allocations: 7.938 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.6914, allocations: 280.9 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.49e-05/0.6915, allocations: 26.5 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.6915, allocations: 16.92 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.6915, allocations: 0 / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.6917, allocations: 71.27 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.6917, allocations: 3.938 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0001574/0.6918, allocations: 57.69 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.6919, allocations: 51.41 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.692, allocations: 109.8 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.692, allocations: 29.7 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.6921, allocations: 88.12 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.6921, allocations: 7.953 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.6921, allocations: 29.7 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6923, allocations: 318.8 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.88e-05/0.6923, allocations: 31.98 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.998e-05/0.6924, allocations: 46.88 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.6925, allocations: 88.2 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6925, allocations: 0 / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002354/0.6928, allocations: 143.2 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.6928, allocations: 41.69 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.6928, allocations: 3.938 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.6929, allocations: 3.938 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.397e-05/0.6929, allocations: 8.094 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.6929, allocations: 0 / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.6931, allocations: 23.97 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.6931, allocations: 4 kB / 1.224 GB, free: 13.47 MB / 0.9512 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.769e-05/0.6932, allocations: 121.8 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.6932, allocations: 4 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.6932, allocations: 3.906 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.6932, allocations: 4 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.6933, allocations: 0 / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.6933, allocations: 0 / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.6934, allocations: 165.6 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6934, allocations: 0 / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-06/0.6934, allocations: 0 / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.6934, allocations: 0 / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.6934, allocations: 4 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.6934, allocations: 4 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.6934, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.6935, allocations: 84.95 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.6936, allocations: 85.09 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.6936, allocations: 4 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.349e-05/0.6936, allocations: 0 / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.6937, allocations: 0 / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.6937, allocations: 4 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.6937, allocations: 87.27 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6937, allocations: 0 / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001951/0.6939, allocations: 23.88 kB / 1.225 GB, free: 12.78 MB / 0.9512 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.0004477/0.6944, allocations: 0.6328 MB / 1.225 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.6946, allocations: 119.4 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6946, allocations: 0 / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.751e-05/0.6947, allocations: 12.12 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.6948, allocations: 19.92 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.6962, allocations: 1.342 MB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.6965, allocations: 0.6806 MB / 1.228 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.884e-05/0.6965, allocations: 7.938 kB / 1.228 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.6966, allocations: 19.42 kB / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.6966, allocations: 0 / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.104/1.801, allocations: 1.963 MB / 1.23 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/16.57, allocations: 16.62 kB / 1.23 GB, free: 7.922 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches