Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_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.0009529/0.0009529, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.007179/0.007179, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.616/2.616, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 12.78 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3191, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0007278/0.3199, allocations: 329.9 kB / 1.059 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3213, allocations: 1.12 MB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.492e-05/0.3214, allocations: 4 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.3214, allocations: 3.938 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.084e-05/0.3214, allocations: 0 / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.3218, allocations: 106.5 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.322, allocations: 75.89 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.915e-05/0.322, allocations: 3.938 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.551e-05/0.3221, allocations: 39.89 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.3222, allocations: 23.91 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.3222, allocations: 8 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.589e-05/0.3223, allocations: 19.98 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.3223, allocations: 3.938 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.3224, allocations: 53.61 kB / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.3225, allocations: 75.78 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3225, allocations: 0 / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3225, allocations: 4 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.3225, allocations: 0 / 1.061 GB, free: 3.008 MB / 0.8106 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.000359/0.3229, allocations: 361.5 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3229, allocations: 19.97 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.323, allocations: 30.75 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.323, allocations: 8.844 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.3231, allocations: 164.4 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3231, allocations: 8.359 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.3232, allocations: 4.375 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.335e-05/0.3232, allocations: 42.19 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.3233, allocations: 3.938 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3233, allocations: 4 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3233, allocations: 0 / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.006e-05/0.3233, allocations: 7.984 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.3236, allocations: 284.9 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.9e-05/0.3237, allocations: 22.52 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.3237, allocations: 12.8 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-06/0.3237, allocations: 0 / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.3239, allocations: 67.45 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3239, allocations: 0 / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001666/0.3241, allocations: 61.59 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.3241, allocations: 59.34 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.819e-05/0.3242, allocations: 105.8 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.3242, allocations: 25.7 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.3243, allocations: 88.12 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.3243, allocations: 7.906 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.3243, allocations: 17.72 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.3244, allocations: 318.8 kB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.657e-05/0.3245, allocations: 23.98 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.3246, allocations: 58.48 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.3247, allocations: 84.14 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3247, allocations: 4 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002255/0.3249, allocations: 139.3 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.325, allocations: 33.7 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.325, allocations: 0 / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.325, allocations: 4 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.546e-05/0.325, allocations: 3.984 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.325, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.3253, allocations: 51.94 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.3253, allocations: 4 kB / 1.063 GB, free: 0.6406 MB / 0.8106 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.869e-05/0.3254, allocations: 113.8 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.3254, allocations: 11.89 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.3254, allocations: 7.906 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.3254, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3255, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3255, allocations: 4.234 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.3256, allocations: 161.6 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3256, allocations: 0 / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-06/0.3256, allocations: 7.922 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3256, allocations: 3.984 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3256, allocations: 320 / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3256, allocations: 0 / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3256, allocations: 4 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.3257, allocations: 85.06 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.3258, allocations: 81.02 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.3258, allocations: 0 / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.759e-05/0.3258, allocations: 7.984 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.3258, allocations: 0 / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3258, allocations: 0 / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.824e-05/0.3259, allocations: 87.28 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3259, allocations: 0 / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002034/0.3261, allocations: 15.98 kB / 1.063 GB, free: 15.96 MB / 0.8262 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.0003717/0.3265, allocations: 0.6241 MB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.3267, allocations: 119.4 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3267, allocations: 7.875 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-05/0.3267, allocations: 12 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.3269, allocations: 8.188 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.3282, allocations: 1.366 MB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.3284, allocations: 0.677 MB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.918e-05/0.3285, allocations: 4 kB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.3285, allocations: 15.44 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3285, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/0.3389, allocations: 1.728 MB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.3391, allocations: 209.4 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.116, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches