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.001489/0.001489, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 196 kB / 16.53 MB, free: 6.699 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.58/2.58, allocations: 469.8 MB / 0.7424 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 59.34 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2536, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001708/0.2553, allocations: 0.5867 MB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2567, allocations: 1.114 MB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.2567, allocations: 4 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.2567, allocations: 0 / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.215e-05/0.2568, allocations: 3.938 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.2572, allocations: 130.9 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.2574, allocations: 91.83 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.678e-05/0.2574, allocations: 8 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.265e-05/0.2575, allocations: 31.92 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.341e-05/0.2576, allocations: 31.89 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.2576, allocations: 8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.2577, allocations: 19.98 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.2577, allocations: 7.984 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.2578, allocations: 23.92 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.2579, allocations: 87.78 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2579, allocations: 0 / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2579, allocations: 0 / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.2579, allocations: 0 / 1.066 GB, free: 12.08 MB / 0.8262 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.0004296/0.2584, allocations: 377.4 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.2584, allocations: 8.031 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.2585, allocations: 38.69 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.2585, allocations: 4.938 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.2586, allocations: 160.4 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2586, allocations: 4.375 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.2587, allocations: 12.36 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.122e-05/0.2587, allocations: 41.95 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.2588, allocations: 3.984 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.2588, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2588, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.153e-05/0.2588, allocations: 7.984 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.2592, allocations: 288.7 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.778e-05/0.2592, allocations: 26.52 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.2592, allocations: 12.92 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.2593, allocations: 0 / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.2594, allocations: 63.38 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.2594, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001641/0.2596, allocations: 61.62 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.2596, allocations: 63.39 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.2597, allocations: 105.9 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.2597, allocations: 25.7 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.2598, allocations: 92.12 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.2598, allocations: 3.906 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.2599, allocations: 33.64 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.26, allocations: 314.8 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.759e-05/0.2601, allocations: 31.98 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.2602, allocations: 50.55 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.2603, allocations: 80.22 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2603, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002416/0.2605, allocations: 147.2 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.2606, allocations: 37.7 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2606, allocations: 4.406 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2606, allocations: 0 / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.678e-05/0.2606, allocations: 8 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2606, allocations: 3.984 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.2608, allocations: 31.89 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.2609, allocations: 4 kB / 1.068 GB, free: 9.699 MB / 0.8262 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.873e-05/0.261, allocations: 117.8 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.261, allocations: 4 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.261, allocations: 11.89 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.261, allocations: 0 / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.261, allocations: 3.938 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.261, allocations: 4 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.2612, allocations: 157.6 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2612, allocations: 0 / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-06/0.2612, allocations: 7.938 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2612, allocations: 0 / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2612, allocations: 7.984 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2612, allocations: 0 / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2612, allocations: 4.234 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.895e-05/0.2613, allocations: 84.95 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.2614, allocations: 81.11 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.2614, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.29e-05/0.2614, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.2614, allocations: 3.984 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.2614, allocations: 4 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.2615, allocations: 83.28 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2615, allocations: 4 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001948/0.2617, allocations: 16 kB / 1.069 GB, free: 9.016 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.0004107/0.2621, allocations: 0.6201 MB / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.2623, allocations: 123.3 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2623, allocations: 4.188 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.2624, allocations: 15.98 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.2625, allocations: 6.234 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.2639, allocations: 1.354 MB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.2642, allocations: 0.6846 MB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.56e-05/0.2642, allocations: 7.875 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.2642, allocations: 15.44 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2642, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.686/1.95, allocations: 1.93 MB / 1.073 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/12.43, allocations: 12.58 kB / 1.073 GB, free: 4.168 MB / 0.8262 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