Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 81.34 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 165.1 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.933/2.933, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.529e-05, allocations: 9.031 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001608/0.001633, allocations: 0.5792 MB / 0.982 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.00327, allocations: 1.139 MB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.003312, allocations: 0 / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.003339, allocations: 3.938 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.29e-05/0.003412, allocations: 3.938 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.003895, allocations: 125.6 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.004055, allocations: 87.88 kB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.004147, allocations: 7.984 kB / 0.9833 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.004254, allocations: 51.91 kB / 0.9834 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.829e-05/0.004353, allocations: 23.95 kB / 0.9834 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.004387, allocations: 8 kB / 0.9834 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.486e-05/0.004462, allocations: 19.98 kB / 0.9834 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.004478, allocations: 7.938 kB / 0.9834 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.004539, allocations: 31.91 kB / 0.9834 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.004725, allocations: 91.83 kB / 0.9835 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004727, allocations: 0 / 0.9835 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.81e-07/0.004728, allocations: 0 / 0.9835 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.004732, allocations: 0 / 0.9835 GB, free: 9.797 MB / 0.9356 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.0004676/0.0052, allocations: 304 kB / 0.9838 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.005237, allocations: 8.031 kB / 0.9838 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.00529, allocations: 8.891 kB / 0.9838 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.005402, allocations: 117.7 kB / 0.9839 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.005424, allocations: 8.375 kB / 0.984 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.005443, allocations: 4.375 kB / 0.984 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.005558, allocations: 59.95 kB / 0.984 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.005566, allocations: 192 / 0.984 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.005574, allocations: 384 / 0.984 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.00558, allocations: 4.375 kB / 0.984 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.426e-05/0.005605, allocations: 7.938 kB / 0.984 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.005994, allocations: 228.6 kB / 0.9842 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.49e-05/0.006049, allocations: 18.58 kB / 0.9843 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.006067, allocations: 16.8 kB / 0.9843 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.006074, allocations: 0 / 0.9843 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.006226, allocations: 89.05 kB / 0.9844 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 3.306e-06/0.006229, allocations: 3.984 kB / 0.9844 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001943/0.006424, allocations: 73.55 kB / 0.9844 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.006468, allocations: 51.41 kB / 0.9845 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.006561, allocations: 109.8 kB / 0.9846 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.006592, allocations: 37.7 kB / 0.9846 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.006645, allocations: 80.14 kB / 0.9847 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.006658, allocations: 7.953 kB / 0.9847 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.006724, allocations: 29.7 kB / 0.9847 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.006868, allocations: 314.8 kB / 0.985 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.847e-05/0.006967, allocations: 61.67 kB / 0.9851 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.00707, allocations: 76.27 kB / 0.9852 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.007184, allocations: 80.2 kB / 0.9853 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.007185, allocations: 0 / 0.9853 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002927/0.007478, allocations: 192.9 kB / 0.9854 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.007518, allocations: 35.83 kB / 0.9855 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007522, allocations: 0 / 0.9855 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.007534, allocations: 4 kB / 0.9855 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.546e-05/0.00755, allocations: 0 / 0.9855 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.007557, allocations: 3.984 kB / 0.9855 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.007768, allocations: 27.97 kB / 0.9855 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.00779, allocations: 11.94 kB / 0.9855 GB, free: 7.516 MB / 0.9356 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 9.509e-05/0.007885, allocations: 113.9 kB / 0.9856 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.007895, allocations: 0 / 0.9856 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.00792, allocations: 19.88 kB / 0.9856 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.007924, allocations: 3.984 kB / 0.9856 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.007927, allocations: 0 / 0.9856 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.00793, allocations: 0 / 0.9856 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.457e-05/0.008025, allocations: 101.3 kB / 0.9857 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.008028, allocations: 3.984 kB / 0.9857 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-06/0.008035, allocations: 4 kB / 0.9857 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.008036, allocations: 0 / 0.9857 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.008043, allocations: 320 / 0.9858 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.008046, allocations: 7.938 kB / 0.9858 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.008048, allocations: 7.938 kB / 0.9858 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.008166, allocations: 81.08 kB / 0.9858 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-06/0.008172, allocations: 0 / 0.9858 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.008187, allocations: 7.984 kB / 0.9859 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.722e-05/0.008204, allocations: 3.938 kB / 0.9859 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.008232, allocations: 0 / 0.9859 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.008239, allocations: 4 kB / 0.9859 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.668e-05/0.008296, allocations: 91.2 kB / 0.9859 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.008296, allocations: 0 / 0.9859 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002196/0.008516, allocations: 16 kB / 0.986 GB, free: 7 MB / 0.9356 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.0001646/0.00868, allocations: 103.7 kB / 0.9861 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.008938, allocations: 141.1 kB / 0.9862 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.008939, allocations: 0 / 0.9862 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.849e-05/0.008968, allocations: 7.938 kB / 0.9862 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.009196, allocations: 16.36 kB / 0.9862 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.009505, allocations: 112.9 kB / 0.9863 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.675e-05/0.009562, allocations: 63.53 kB / 0.9864 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.386e-05/0.009586, allocations: 7.984 kB / 0.9864 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.009603, allocations: 8.5 kB / 0.9864 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/0.009604, allocations: 4 kB / 0.9864 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of Templates: time 0.003986/0.01359, allocations: 1.186 MB / 0.9876 GB, free: 5.316 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.424493711441755]