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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_10_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.006938/0.006938, allocations: 101.8 kB / 15.73 MB, free: 5.996 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.001215/0.001215, allocations: 195.9 kB / 16.68 MB, free: 5.918 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.145 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.651/2.651, allocations: 437.1 MB / 0.7106 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.91 kB / 1.018 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2949, allocations: 151.6 MB / 1.166 GB, free: 7.402 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002206/0.2971, allocations: 0.5908 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2991, allocations: 1.121 MB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.2992, allocations: 0 / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/0.2992, allocations: 0 / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.367e-05/0.2993, allocations: 3.938 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.3, allocations: 119.7 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.3003, allocations: 91.89 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3004, allocations: 8 kB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.098e-05/0.3005, allocations: 35.91 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.3006, allocations: 31.89 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.3006, allocations: 8 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.3007, allocations: 19.98 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.3007, allocations: 7.984 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.3008, allocations: 31.91 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.301, allocations: 87.73 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.301, allocations: 0 / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.863e-06/0.301, allocations: 0 / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.301, allocations: 0 / 1.168 GB, free: 5.234 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.0005563/0.3016, allocations: 376 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.3016, allocations: 8.75 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.049e-05/0.3017, allocations: 34.73 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.3018, allocations: 4.938 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.3019, allocations: 165 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3019, allocations: 8.375 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.3019, allocations: 4.375 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.302, allocations: 42.19 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3021, allocations: 3.938 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3021, allocations: 3.938 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3021, allocations: 3.984 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.641e-05/0.3021, allocations: 4 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.3026, allocations: 289.1 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.105e-05/0.3026, allocations: 30.44 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.343e-05/0.3027, allocations: 12.92 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.3027, allocations: 0 / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.3028, allocations: 59.39 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.3028, allocations: 0 / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002059/0.303, allocations: 57.69 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.3031, allocations: 59.34 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.149e-05/0.3032, allocations: 109.8 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.3032, allocations: 29.7 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.3033, allocations: 92.05 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.398e-06/0.3033, allocations: 0 / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.63e-05/0.3034, allocations: 29.7 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3035, allocations: 314.8 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.632e-05/0.3036, allocations: 31.98 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.87e-05/0.3037, allocations: 46.56 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.3038, allocations: 88.14 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3038, allocations: 0 / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002466/0.3041, allocations: 147.2 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.3041, allocations: 43.72 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.3041, allocations: 4.094 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3042, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.787e-05/0.3042, allocations: 4 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3042, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.3044, allocations: 24.28 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.3044, allocations: 4 kB / 1.17 GB, free: 2.871 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 9.58e-05/0.3045, allocations: 129.2 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.3045, allocations: 8 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.3046, allocations: 3.906 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3046, allocations: 4 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3046, allocations: 0 / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3046, allocations: 0 / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.3047, allocations: 169.6 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3047, allocations: 3.938 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.606e-06/0.3048, allocations: 3.938 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3048, allocations: 0 / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3048, allocations: 0 / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3048, allocations: 7.984 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3048, allocations: 4 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.3049, allocations: 81.2 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.305, allocations: 85.12 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.305, allocations: 4 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/0.305, allocations: 0 / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.305, allocations: 0 / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.305, allocations: 4 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.398e-05/0.3051, allocations: 91.27 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3051, allocations: 0 / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000212/0.3053, allocations: 16 kB / 1.171 GB, free: 2.168 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.000434/0.3058, allocations: 0.6163 MB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.306, allocations: 123.4 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.306, allocations: 4.062 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-05/0.306, allocations: 12 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.3063, allocations: 7.984 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.3077, allocations: 1.356 MB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.308, allocations: 0.6846 MB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.303e-05/0.308, allocations: 0 / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.3081, allocations: 19.42 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3081, allocations: 0 / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.3272, allocations: 1.968 MB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/7.907, allocations: 3.938 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > 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/jenkins1/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