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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 117 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00217/0.00217, allocations: 191.7 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.131/3.131, allocations: 489.3 MB / 0.7687 GB, free: 3.961 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002028, allocations: 64.14 kB / 1.103 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8963/0.8984, allocations: 163.8 MB / 1.263 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001698/0.9001, allocations: 0.5956 MB / 1.263 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.9014, allocations: 1.105 MB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.9014, allocations: 4.562 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.9014, allocations: 4.594 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.9015, allocations: 9.203 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.902, allocations: 129.3 kB / 1.264 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.9021, allocations: 97.2 kB / 1.264 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.612e-05/0.9022, allocations: 3.781 kB / 1.264 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.787e-05/0.9023, allocations: 37.77 kB / 1.264 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.305e-05/0.9024, allocations: 30.8 kB / 1.265 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.9024, allocations: 7.562 kB / 1.265 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.9025, allocations: 21.97 kB / 1.265 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.9025, allocations: 10.83 kB / 1.265 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/0.9026, allocations: 30.66 kB / 1.265 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.9027, allocations: 85.88 kB / 1.265 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9028, allocations: 0 / 1.265 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9028, allocations: 0.8125 kB / 1.265 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.9028, allocations: 0 / 1.265 GB, free: 6.66 MB / 0.9981 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.0003765/0.9032, allocations: 375.6 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.9032, allocations: 9.188 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.9032, allocations: 5.047 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.844e-05/0.9033, allocations: 163.7 kB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.9033, allocations: 7.859 kB / 1.265 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.9034, allocations: 8.156 kB / 1.265 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.628e-05/0.9034, allocations: 34.94 kB / 1.265 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.9035, allocations: 5.125 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.9035, allocations: 4.688 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.9035, allocations: 0.9375 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.9035, allocations: 11.48 kB / 1.265 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.9038, allocations: 286.9 kB / 1.266 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.919e-05/0.9039, allocations: 30.41 kB / 1.266 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.492e-05/0.9039, allocations: 7.641 kB / 1.266 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-06/0.9039, allocations: 0.6094 kB / 1.266 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.904, allocations: 61.64 kB / 1.266 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.904, allocations: 0 / 1.266 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001748/0.9042, allocations: 61.44 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.9042, allocations: 57.36 kB / 1.266 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.964e-05/0.9043, allocations: 104.2 kB / 1.266 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.9043, allocations: 32.78 kB / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/0.9044, allocations: 87.23 kB / 1.266 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.574e-06/0.9044, allocations: 1.531 kB / 1.266 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.9044, allocations: 29.97 kB / 1.266 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.143e-05/0.9045, allocations: 317.5 kB / 1.266 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.9046, allocations: 27.27 kB / 1.266 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.595e-05/0.9047, allocations: 56.7 kB / 1.266 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.187e-05/0.9047, allocations: 76.48 kB / 1.266 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9048, allocations: 3.938 kB / 1.266 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002351/0.905, allocations: 146.5 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.905, allocations: 39.66 kB / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.905, allocations: 5.062 kB / 1.267 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.9051, allocations: 0.9844 kB / 1.267 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.536e-05/0.9051, allocations: 6.375 kB / 1.267 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.9051, allocations: 0.875 kB / 1.267 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.9053, allocations: 28.28 kB / 1.267 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.9053, allocations: 10.98 kB / 1.267 GB, free: 4.703 MB / 0.9981 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 5.427e-05/0.9054, allocations: 115.3 kB / 1.267 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.9054, allocations: 10.58 kB / 1.267 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.9054, allocations: 9.375 kB / 1.267 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.9054, allocations: 0.9062 kB / 1.267 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.9055, allocations: 0 / 1.267 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.9055, allocations: 1.609 kB / 1.267 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.504e-05/0.9055, allocations: 168.6 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.9056, allocations: 1 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-06/0.9056, allocations: 1.734 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.9056, allocations: 0 / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.9056, allocations: 1.609 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9056, allocations: 4 kB / 1.267 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.9056, allocations: 1.062 kB / 1.267 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.861e-05/0.9057, allocations: 88.33 kB / 1.267 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.9057, allocations: 78.69 kB / 1.267 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.9057, allocations: 1.625 kB / 1.267 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.515e-05/0.9057, allocations: 1.672 kB / 1.267 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.9058, allocations: 1.578 kB / 1.267 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.9058, allocations: 2.859 kB / 1.267 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.478e-05/0.9058, allocations: 88.98 kB / 1.267 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9058, allocations: 0.875 kB / 1.267 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002059/0.906, allocations: 15.3 kB / 1.267 GB, free: 4.098 MB / 0.9981 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.0001086/0.9061, allocations: 106.8 kB / 1.267 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.9063, allocations: 119 kB / 1.267 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.9064, allocations: 1.312 kB / 1.267 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.331e-05/0.9064, allocations: 12.62 kB / 1.267 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.9066, allocations: 15.42 kB / 1.267 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.9068, allocations: 148.1 kB / 1.268 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.9e-05/0.9069, allocations: 0.6778 MB / 1.268 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.907, allocations: 10.41 kB / 1.268 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of SimCode: time 2.01e-07/0.907, allocations: 0 / 1.268 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of Templates: time 0.002693/0.9097, allocations: 0.8981 MB / 1.269 GB, free: 2.98 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.558139260858297]