Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_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.0094/0.0094, allocations: 103.4 kB / 15.73 MB, free: 6.051 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.001873/0.001873, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001537, allocations: 63.89 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3087, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001651/0.3104, allocations: 0.588 MB / 1.208 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.3118, allocations: 1.116 MB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.3119, allocations: 4 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.312, allocations: 4 kB / 1.209 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.766e-05/0.312, allocations: 3.938 kB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.3126, allocations: 125.5 kB / 1.209 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.3128, allocations: 91.88 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.104e-05/0.3129, allocations: 8 kB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.079e-05/0.313, allocations: 31.92 kB / 1.209 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3131, allocations: 39.81 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.3131, allocations: 8 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.707e-05/0.3132, allocations: 23.98 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.3132, allocations: 0 / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/0.3133, allocations: 27.92 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.3134, allocations: 87.78 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.3135, allocations: 0 / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3135, allocations: 4 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.3135, allocations: 0 / 1.209 GB, free: 7.957 MB / 0.9669 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.0004554/0.3139, allocations: 373.4 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.314, allocations: 12.62 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.314, allocations: 30.75 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.3141, allocations: 8.922 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.991e-05/0.3142, allocations: 168.3 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3142, allocations: 4.375 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.3142, allocations: 8.375 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.078e-05/0.3143, allocations: 42.19 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.3143, allocations: 11.88 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.3143, allocations: 0 / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3143, allocations: 0 / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.059e-05/0.3144, allocations: 4 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.3147, allocations: 280.9 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.518e-05/0.3148, allocations: 34.5 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.3148, allocations: 8.797 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.3148, allocations: 0 / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.3149, allocations: 63.44 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.315, allocations: 0 / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001634/0.3151, allocations: 61.69 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.3152, allocations: 55.34 kB / 1.21 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.3153, allocations: 113.8 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3153, allocations: 25.7 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.3153, allocations: 88.14 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.285e-06/0.3154, allocations: 0 / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.3154, allocations: 29.7 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.3155, allocations: 318.8 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.3156, allocations: 27.98 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.3157, allocations: 50.56 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.76e-05/0.3158, allocations: 92.08 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3158, allocations: 320 / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002185/0.316, allocations: 139.2 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.316, allocations: 41.69 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3161, allocations: 8 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.3161, allocations: 4.094 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.296e-05/0.3161, allocations: 0 / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3161, allocations: 0 / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.3163, allocations: 27.91 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.3163, allocations: 8 kB / 1.211 GB, free: 5.582 MB / 0.9669 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.018e-05/0.3164, allocations: 121.8 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.3164, allocations: 0 / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.3164, allocations: 11.91 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3165, allocations: 0 / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3165, allocations: 0 / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3165, allocations: 0 / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.3166, allocations: 165.6 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3166, allocations: 0 / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.375e-06/0.3166, allocations: 7.938 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3166, allocations: 0 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3166, allocations: 0 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.3166, allocations: 0 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3166, allocations: 3.938 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.664e-05/0.3168, allocations: 88.97 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.3168, allocations: 77.11 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.3168, allocations: 3.984 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.552e-05/0.3168, allocations: 0 / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.3169, allocations: 4 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3169, allocations: 0 / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.75e-05/0.3169, allocations: 87.27 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3169, allocations: 0 / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002122/0.3171, allocations: 20 kB / 1.212 GB, free: 4.898 MB / 0.9669 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.0003615/0.3175, allocations: 0.6243 MB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.3177, allocations: 123.3 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3177, allocations: 0 / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-05/0.3178, allocations: 20.12 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.318, allocations: 13 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.3192, allocations: 1.366 MB / 1.214 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.3194, allocations: 0.6807 MB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.17e-05/0.3194, allocations: 8 kB / 1.215 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.3194, allocations: 11.42 kB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3195, allocations: 0 / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.3362, allocations: 1.99 MB / 1.217 GB, free: 12 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/7.678, allocations: 15.36 kB / 1.217 GB, free: 0 / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches