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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005208/0.005209, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.001425/0.001425, allocations: 196.7 kB / 16.68 MB, free: 5.934 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.644/2.644, allocations: 482.6 MB / 0.755 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 62.72 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2925, allocations: 162.3 MB / 1.242 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001596/0.2941, allocations: 0.5905 MB / 1.242 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2954, allocations: 1.106 MB / 1.243 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.2955, allocations: 0 / 1.243 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.2955, allocations: 3.938 kB / 1.243 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.324e-05/0.2956, allocations: 7.938 kB / 1.244 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.296, allocations: 123.3 kB / 1.244 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.2961, allocations: 95.86 kB / 1.244 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.904e-05/0.2962, allocations: 8 kB / 1.244 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/0.2963, allocations: 27.98 kB / 1.244 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.225e-05/0.2964, allocations: 39.83 kB / 1.244 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.2964, allocations: 11.98 kB / 1.244 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.548e-05/0.2965, allocations: 19.98 kB / 1.244 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.2965, allocations: 4 kB / 1.244 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.989e-05/0.2966, allocations: 31.91 kB / 1.244 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.2967, allocations: 83.95 kB / 1.244 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2967, allocations: 0 / 1.244 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2967, allocations: 0 / 1.244 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.2967, allocations: 0 / 1.244 GB, free: 6.895 MB / 0.9669 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.0004475/0.2972, allocations: 377.1 kB / 1.244 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2972, allocations: 16.03 kB / 1.244 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.2973, allocations: 34.73 kB / 1.244 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.2973, allocations: 12.88 kB / 1.244 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.2974, allocations: 160.4 kB / 1.245 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.2975, allocations: 4.375 kB / 1.245 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2975, allocations: 8.375 kB / 1.245 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.661e-05/0.2976, allocations: 34.25 kB / 1.245 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2976, allocations: 3.938 kB / 1.245 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2976, allocations: 7.938 kB / 1.245 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2976, allocations: 0 / 1.245 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.332e-05/0.2976, allocations: 11.94 kB / 1.245 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.298, allocations: 284.9 kB / 1.245 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.2981, allocations: 26.5 kB / 1.245 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.2981, allocations: 8.922 kB / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-06/0.2981, allocations: 0 / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.2982, allocations: 67.33 kB / 1.245 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2982, allocations: 0 / 1.245 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001749/0.2984, allocations: 65.64 kB / 1.245 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.2985, allocations: 51.41 kB / 1.245 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.2986, allocations: 105.8 kB / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.2986, allocations: 25.7 kB / 1.245 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.2987, allocations: 92.12 kB / 1.245 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.03e-05/0.2987, allocations: 3.953 kB / 1.245 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.2987, allocations: 33.7 kB / 1.245 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2989, allocations: 318.8 kB / 1.246 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.872e-05/0.2989, allocations: 31.92 kB / 1.246 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/0.299, allocations: 46.56 kB / 1.246 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.2991, allocations: 80.2 kB / 1.246 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2992, allocations: 8 kB / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002406/0.2994, allocations: 139.3 kB / 1.246 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.2995, allocations: 39.56 kB / 1.246 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2995, allocations: 0 / 1.246 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2995, allocations: 7.938 kB / 1.246 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.268e-05/0.2995, allocations: 3.938 kB / 1.246 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2995, allocations: 0 / 1.246 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.2997, allocations: 27.92 kB / 1.246 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.2997, allocations: 12.09 kB / 1.246 GB, free: 4.512 MB / 0.9669 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.995e-05/0.2998, allocations: 121.8 kB / 1.246 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.2998, allocations: 0 / 1.246 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.2999, allocations: 7.906 kB / 1.246 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2999, allocations: 4.234 kB / 1.246 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2999, allocations: 0 / 1.246 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2999, allocations: 3.984 kB / 1.246 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.3, allocations: 165.5 kB / 1.246 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3, allocations: 3.938 kB / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-06/0.3001, allocations: 4 kB / 1.246 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3001, allocations: 4 kB / 1.246 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.3001, allocations: 0 / 1.246 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3001, allocations: 320 / 1.246 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3001, allocations: 0 / 1.246 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.3002, allocations: 81 kB / 1.246 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.3002, allocations: 93.05 kB / 1.246 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3003, allocations: 0 / 1.246 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.392e-05/0.3003, allocations: 4 kB / 1.246 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.3003, allocations: 4 kB / 1.246 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.3003, allocations: 0 / 1.246 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.745e-05/0.3004, allocations: 87.27 kB / 1.247 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3004, allocations: 0 / 1.247 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002016/0.3006, allocations: 16 kB / 1.247 GB, free: 3.824 MB / 0.9669 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.0003868/0.301, allocations: 0.6246 MB / 1.247 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.3012, allocations: 115.4 kB / 1.247 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3012, allocations: 0 / 1.247 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.965e-05/0.3012, allocations: 15.94 kB / 1.247 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.3014, allocations: 11.92 kB / 1.247 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.3027, allocations: 1.361 MB / 1.249 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.303, allocations: 0.6768 MB / 1.249 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.675e-05/0.303, allocations: 4 kB / 1.249 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.303, allocations: 15.42 kB / 1.249 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.3031, allocations: 0 / 1.249 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.3241, allocations: 1.97 MB / 1.251 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.149/9.473, allocations: 10.52 kB / 1.251 GB, free: 14.96 MB / 0.9825 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=400 --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