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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008072/0.0008072, allocations: 97.33 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.005861/0.005861, allocations: 169.5 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.502/2.502, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003301, allocations: 8 kB / 0.873 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6294/0.6298, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0008602/0.6307, allocations: 328.5 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.6323, allocations: 1.113 MB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.6323, allocations: 0 / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.6323, allocations: 4 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.323e-05/0.6324, allocations: 3.938 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.6329, allocations: 105 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.633, allocations: 75.89 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.349e-05/0.6331, allocations: 4 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.6333, allocations: 39.89 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.549e-05/0.6334, allocations: 23.91 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.6334, allocations: 4 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.6335, allocations: 15.98 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.6335, allocations: 8 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.6336, allocations: 49.61 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.6337, allocations: 83.72 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6338, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6338, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.6338, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 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.000462/0.6342, allocations: 371.4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.6343, allocations: 8.031 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.6343, allocations: 30.75 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.6344, allocations: 4.938 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.6345, allocations: 180.2 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.6345, allocations: 384 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.6345, allocations: 4.375 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.939e-05/0.6346, allocations: 38.25 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6347, allocations: 3.938 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.6347, allocations: 4 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.6347, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.6347, allocations: 15.92 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.6351, allocations: 280.9 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.233e-05/0.6352, allocations: 22.52 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.6352, allocations: 8.922 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.6352, allocations: 4 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.6354, allocations: 59.33 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.6354, allocations: 4 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002119/0.6356, allocations: 61.59 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.6357, allocations: 51.41 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.908e-05/0.6358, allocations: 105.8 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.6358, allocations: 33.7 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.6359, allocations: 88.12 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.6359, allocations: 7.906 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.6359, allocations: 17.72 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.6361, allocations: 310.8 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.071e-05/0.6362, allocations: 31.98 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/0.6362, allocations: 50.48 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.6364, allocations: 92.38 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6364, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002506/0.6366, allocations: 143.3 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/0.6367, allocations: 37.7 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6367, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6367, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.936e-05/0.6367, allocations: 3.938 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.6367, allocations: 11.97 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.637, allocations: 36.06 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.637, allocations: 4 kB / 1.027 GB, free: 11.66 MB / 0.7794 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 0.0001017/0.6371, allocations: 118.3 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.6372, allocations: 7.906 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.6372, allocations: 7.891 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.6372, allocations: 4 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6372, allocations: 3.938 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.6372, allocations: 4 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.6374, allocations: 165.6 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6374, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-06/0.6374, allocations: 3.984 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6374, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.6374, allocations: 4.312 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.6374, allocations: 4 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6374, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.6375, allocations: 85 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.6376, allocations: 81.11 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.6376, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.753e-05/0.6376, allocations: 3.984 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.6377, allocations: 0 / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.6377, allocations: 4 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.608e-05/0.6377, allocations: 83.28 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6377, allocations: 0 / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000213/0.638, allocations: 23.98 kB / 1.028 GB, free: 10.97 MB / 0.7794 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.000457/0.6384, allocations: 0.6162 MB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.6387, allocations: 119.4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6387, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/0.6387, allocations: 24.11 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.6389, allocations: 9.828 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.6403, allocations: 1.358 MB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.6406, allocations: 0.6848 MB / 1.03 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.926e-05/0.6406, allocations: 0 / 1.03 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.6406, allocations: 15.44 kB / 1.03 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.6406, allocations: 3.938 kB / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.652, allocations: 1.736 MB / 1.032 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/0.6523, allocations: 203.1 kB / 1.032 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.353, allocations: 4 kB / 1.032 GB, free: 6.125 MB / 0.7794 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=50 --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