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.004988/0.004988, allocations: 96.67 kB / 15.73 MB, free: 5.988 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.001419/0.001419, allocations: 188.2 kB / 16.67 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.488/2.488, allocations: 437.1 MB / 0.7106 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 67.88 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2584, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.00158/0.26, allocations: 0.5873 MB / 1.167 GB, free: 6.707 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.2613, allocations: 1.117 MB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/0.2614, allocations: 0 / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.2614, allocations: 3.938 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.527e-05/0.2615, allocations: 15.92 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.2619, allocations: 115.4 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.262, allocations: 95.83 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.032e-05/0.2621, allocations: 4 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.008e-05/0.2621, allocations: 39.95 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.312e-05/0.2622, allocations: 31.89 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.2623, allocations: 8 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.858e-05/0.2623, allocations: 16 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.2623, allocations: 7.984 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.2624, allocations: 27.91 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.2626, allocations: 92 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.2626, allocations: 0 / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2626, allocations: 4 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.2626, allocations: 0 / 1.168 GB, free: 5.125 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.0003922/0.263, allocations: 373 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.263, allocations: 12.03 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.263, allocations: 34.75 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.2631, allocations: 8.891 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2632, allocations: 160.4 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.2632, allocations: 8.375 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.2632, allocations: 8.359 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.842e-05/0.2633, allocations: 34.27 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2633, allocations: 7.938 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.2634, allocations: 0 / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-06/0.2634, allocations: 3.938 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.083e-05/0.2634, allocations: 11.97 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.2637, allocations: 288.8 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.474e-05/0.2638, allocations: 26.52 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.2638, allocations: 4.859 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-06/0.2638, allocations: 0 / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.2639, allocations: 63.45 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2639, allocations: 3.938 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0001402/0.264, allocations: 65.64 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.2641, allocations: 59.39 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.327e-05/0.2642, allocations: 105.9 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2642, allocations: 25.7 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.2642, allocations: 88.12 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.2643, allocations: 7.953 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.2643, allocations: 29.7 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2645, allocations: 314.8 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/0.2645, allocations: 23.98 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.2646, allocations: 58.55 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.2647, allocations: 84.14 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2647, allocations: 0 / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000227/0.265, allocations: 139.3 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.265, allocations: 37.7 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.265, allocations: 96 / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.265, allocations: 8 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-06/0.265, allocations: 0 / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2651, allocations: 7.922 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.2652, allocations: 27.92 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.2653, allocations: 8 kB / 1.17 GB, free: 2.75 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 8.13e-05/0.2653, allocations: 121.7 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.2654, allocations: 0 / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.2654, allocations: 11.91 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.2654, allocations: 0 / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2654, allocations: 3.984 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.2654, allocations: 0 / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.2655, allocations: 157.6 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2655, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-06/0.2655, allocations: 7.938 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.2656, allocations: 0 / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-06/0.2656, allocations: 0 / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2656, allocations: 3.984 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2656, allocations: 320 / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.2657, allocations: 93.19 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.2657, allocations: 77.11 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.2657, allocations: 4.047 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.2658, allocations: 11.92 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.2658, allocations: 7.984 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2658, allocations: 0 / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.2658, allocations: 79.28 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2659, allocations: 4 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001911/0.266, allocations: 20 kB / 1.171 GB, free: 2.055 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.0003897/0.2664, allocations: 0.6163 MB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.2666, allocations: 123.3 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2666, allocations: 4.188 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.419e-05/0.2667, allocations: 11.98 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.2668, allocations: 8 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.2681, allocations: 1.363 MB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.2684, allocations: 0.6807 MB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.592e-05/0.2684, allocations: 4 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.2685, allocations: 15.44 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.2685, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.788/2.056, allocations: 1.963 MB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/15.06, allocations: 23.31 kB / 1.176 GB, free: 13.18 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=400 --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