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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006354/0.006354, allocations: 102 kB / 15.73 MB, free: 6.035 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.001364/0.001364, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.89 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9217/0.9232, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001704/0.9249, allocations: 0.5983 MB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.9261, allocations: 1.11 MB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.9262, allocations: 0 / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.9262, allocations: 1.062 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.9263, allocations: 12.53 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.9267, allocations: 128 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.9269, allocations: 89.72 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.292e-05/0.927, allocations: 8.578 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.209e-05/0.927, allocations: 37.92 kB / 1.089 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.9271, allocations: 31.12 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.9272, allocations: 7.875 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-05/0.9272, allocations: 17.98 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.9273, allocations: 6.344 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.9273, allocations: 30.66 kB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.9275, allocations: 86.02 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9275, allocations: 0 / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9275, allocations: 1.25 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.9275, allocations: 0 / 1.09 GB, free: 3.879 MB / 0.8575 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.0003646/0.9279, allocations: 374.9 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.9279, allocations: 9.469 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.46e-05/0.928, allocations: 36.58 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.928, allocations: 4.984 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.706e-05/0.9281, allocations: 171.8 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.9281, allocations: 2.531 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.9281, allocations: 4.656 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.575e-05/0.9282, allocations: 40 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.9282, allocations: 7.938 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.9283, allocations: 0.7969 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.9283, allocations: 5.281 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.295e-05/0.9283, allocations: 6.828 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.9286, allocations: 283 kB / 1.09 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.54e-05/0.9287, allocations: 27.08 kB / 1.09 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.9287, allocations: 11.39 kB / 1.09 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.9287, allocations: 4 kB / 1.09 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.9289, allocations: 66.53 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.9289, allocations: 0 / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001737/0.9291, allocations: 60.47 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.9291, allocations: 53.3 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.925e-05/0.9292, allocations: 109.3 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.9292, allocations: 27.55 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.9292, allocations: 88.22 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.9293, allocations: 9 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.9293, allocations: 29.66 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.896e-05/0.9294, allocations: 313.7 kB / 1.091 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.141e-05/0.9294, allocations: 27.47 kB / 1.091 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.311e-05/0.9295, allocations: 48.72 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.611e-05/0.9296, allocations: 91.53 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.9296, allocations: 1.312 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002417/0.9299, allocations: 143 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.9299, allocations: 38.72 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9299, allocations: 1.219 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.9299, allocations: 0.9375 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.662e-05/0.93, allocations: 1.406 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.93, allocations: 1.609 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.9302, allocations: 32.58 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.9302, allocations: 6.922 kB / 1.092 GB, free: 1.879 MB / 0.8575 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.14e-05/0.9303, allocations: 118.4 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.9303, allocations: 6.781 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.9303, allocations: 5.688 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9303, allocations: 1.219 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.9304, allocations: 0 / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.9304, allocations: 4 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.599e-05/0.9304, allocations: 166.2 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9304, allocations: 0 / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-06/0.9305, allocations: 2.016 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.9305, allocations: 3.938 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.9305, allocations: 1.828 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.9305, allocations: 0 / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.9305, allocations: 2.203 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.48e-05/0.9306, allocations: 83.61 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.9306, allocations: 87.73 kB / 1.092 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.9306, allocations: 4 kB / 1.092 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.669e-05/0.9306, allocations: 5.75 kB / 1.092 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.9307, allocations: 2.406 kB / 1.092 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.9307, allocations: 1.938 kB / 1.092 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.537e-05/0.9307, allocations: 85.94 kB / 1.092 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9307, allocations: 0 / 1.092 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002208/0.9309, allocations: 19.12 kB / 1.092 GB, free: 1.266 MB / 0.8575 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.0003051/0.9313, allocations: 0.6168 MB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.9315, allocations: 123.4 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9315, allocations: 0.8125 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.828e-05/0.9315, allocations: 8.141 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.9317, allocations: 16.31 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.933, allocations: 1.361 MB / 1.094 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.9332, allocations: 0.6777 MB / 1.095 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.218e-05/0.9332, allocations: 3.562 kB / 1.095 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.9333, allocations: 14.08 kB / 1.095 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.9333, allocations: 4 kB / 1.095 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.9506, allocations: 1.964 MB / 1.097 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/8.55, allocations: 8.625 kB / 1.097 GB, free: 14.18 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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