Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_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.0007255/0.0007255, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004549/0.004549, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003199, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.7034, allocations: 142.4 MB / 0.9552 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0007957/0.7042, allocations: 325.1 kB / 0.9555 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.7054, allocations: 1.119 MB / 0.9566 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.7054, allocations: 0 / 0.9566 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.7055, allocations: 1.062 kB / 0.9566 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.347e-05/0.7055, allocations: 3.938 kB / 0.9566 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.706, allocations: 113.5 kB / 0.9567 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.558e-05/0.7061, allocations: 78.7 kB / 0.9568 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.501e-05/0.7062, allocations: 7.141 kB / 0.9568 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.276e-05/0.7062, allocations: 31.64 kB / 0.9568 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.675e-05/0.7063, allocations: 18.88 kB / 0.9568 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.7063, allocations: 4.5 kB / 0.9568 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.607e-05/0.7064, allocations: 18.42 kB / 0.9568 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.7064, allocations: 5 kB / 0.9568 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.732e-05/0.7065, allocations: 56.34 kB / 0.9569 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.7066, allocations: 74.66 kB / 0.957 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7066, allocations: 0 / 0.957 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7066, allocations: 1.344 kB / 0.957 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.7066, allocations: 0 / 0.957 GB, free: 6.332 MB / 0.7169 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.0003102/0.7069, allocations: 358 kB / 0.9573 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.707, allocations: 8.969 kB / 0.9573 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.714e-05/0.707, allocations: 35.94 kB / 0.9574 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.7071, allocations: 8.219 kB / 0.9574 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.179e-05/0.7072, allocations: 174.2 kB / 0.9575 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.7072, allocations: 14.22 kB / 0.9575 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.7072, allocations: 1.531 kB / 0.9575 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.862e-05/0.7073, allocations: 40.16 kB / 0.9576 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.7073, allocations: 3.938 kB / 0.9576 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.7073, allocations: 0 / 0.9576 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.7073, allocations: 1.469 kB / 0.9576 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.096e-05/0.7074, allocations: 2.312 kB / 0.9576 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.7077, allocations: 290.5 kB / 0.9579 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.829e-05/0.7077, allocations: 21.77 kB / 0.9579 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.7077, allocations: 14.91 kB / 0.9579 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.7077, allocations: 0 / 0.9579 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.803e-05/0.7078, allocations: 55.47 kB / 0.958 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.7078, allocations: 0 / 0.958 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001586/0.708, allocations: 64.11 kB / 0.958 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.708, allocations: 59.41 kB / 0.9581 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.607e-05/0.7081, allocations: 113.4 kB / 0.9582 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.7081, allocations: 28.39 kB / 0.9582 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.7082, allocations: 86.42 kB / 0.9583 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-06/0.7082, allocations: 5.375 kB / 0.9583 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.7082, allocations: 14.03 kB / 0.9583 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.7083, allocations: 320 kB / 0.9586 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.437e-05/0.7083, allocations: 27.14 kB / 0.9586 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.54e-05/0.7084, allocations: 51.31 kB / 0.9587 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.63e-05/0.7085, allocations: 83.62 kB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7085, allocations: 1.25 kB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000198/0.7087, allocations: 149.7 kB / 0.9589 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.7087, allocations: 37.06 kB / 0.9589 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7088, allocations: 5.094 kB / 0.959 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.7088, allocations: 1.062 kB / 0.959 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.514e-05/0.7088, allocations: 1.438 kB / 0.959 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7088, allocations: 1.719 kB / 0.959 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.709, allocations: 32.66 kB / 0.959 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.7091, allocations: 13.08 kB / 0.959 GB, free: 4.234 MB / 0.7169 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 6.308e-05/0.7091, allocations: 122 kB / 0.9591 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.7091, allocations: 2.812 kB / 0.9591 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.7092, allocations: 7.906 kB / 0.9591 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7092, allocations: 5.812 kB / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7092, allocations: 0 / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.7092, allocations: 0 / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.306e-05/0.7093, allocations: 171 kB / 0.9593 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7093, allocations: 0 / 0.9593 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-06/0.7093, allocations: 1.375 kB / 0.9593 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.7093, allocations: 4 kB / 0.9593 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.7093, allocations: 1.406 kB / 0.9593 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7093, allocations: 0 / 0.9593 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7093, allocations: 1.188 kB / 0.9593 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.178e-05/0.7094, allocations: 82.17 kB / 0.9594 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.7094, allocations: 78.23 kB / 0.9595 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.7094, allocations: 5.062 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.54e-05/0.7095, allocations: 1.281 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.7095, allocations: 5.188 kB / 0.9595 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.7095, allocations: 1.469 kB / 0.9595 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.614e-05/0.7095, allocations: 92.45 kB / 0.9596 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7095, allocations: 0 / 0.9596 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001977/0.7097, allocations: 15.12 kB / 0.9596 GB, free: 3.605 MB / 0.7169 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.0002571/0.71, allocations: 0.6294 MB / 0.9602 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.7102, allocations: 117.4 kB / 0.9603 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7102, allocations: 5.719 kB / 0.9603 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.378e-05/0.7102, allocations: 12 kB / 0.9603 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.7104, allocations: 9.75 kB / 0.9603 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009784/0.7114, allocations: 1.368 MB / 0.9617 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.178e-05/0.7115, allocations: 0.6785 MB / 0.9623 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.839e-05/0.7115, allocations: 2.75 kB / 0.9623 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.7115, allocations: 12.81 kB / 0.9623 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.7115, allocations: 0 / 0.9623 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.7365, allocations: 1.742 MB / 0.964 GB, free: 24 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.7368, allocations: 197.2 kB / 0.9642 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.482, allocations: 0.9375 kB / 0.9642 GB, free: 15.77 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches