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.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.002224/0.002224, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002613/0.002613, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.564/1.564, allocations: 177.1 MB / 203.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.349/3.349, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.645e-06/2.645e-06, allocations: 0 / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.338e-05/3.603e-05, allocations: 5.125 kB / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002373/0.002409, allocations: 0.5964 MB / 0.878 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002264/0.004673, allocations: 1.14 MB / 0.8791 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.004718, allocations: 0 / 0.8791 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.413e-05/0.004742, allocations: 1.094 kB / 0.8791 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.178e-05/0.004834, allocations: 11.22 kB / 0.8791 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005929/0.005427, allocations: 124.2 kB / 0.8793 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.005641, allocations: 89.58 kB / 0.8793 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.3e-05/0.005724, allocations: 4 kB / 0.8793 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.005856, allocations: 47.95 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.005976, allocations: 31.7 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.006011, allocations: 8 kB / 0.8794 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8e-05/0.006091, allocations: 16 kB / 0.8794 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.006114, allocations: 7.984 kB / 0.8794 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.626e-05/0.006201, allocations: 27.97 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.006437, allocations: 95.77 kB / 0.8796 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.006439, allocations: 0 / 0.8796 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.00644, allocations: 4 kB / 0.8796 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.006445, allocations: 0 / 0.8796 GB, free: 4.477 MB / 0.8386 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.0006301/0.007075, allocations: 401.9 kB / 0.88 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.007124, allocations: 8.031 kB / 0.88 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.385e-05/0.007197, allocations: 9.812 kB / 0.88 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.007343, allocations: 116.5 kB / 0.8801 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.007359, allocations: 1.406 kB / 0.8801 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.00739, allocations: 12.36 kB / 0.8801 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.007527, allocations: 65.08 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.007536, allocations: 192 / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.007547, allocations: 384 / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.007551, allocations: 1.438 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.597e-05/0.007587, allocations: 7.938 kB / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.00812, allocations: 283.7 kB / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.418e-05/0.008214, allocations: 32.09 kB / 0.8805 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.008243, allocations: 7.688 kB / 0.8805 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.008254, allocations: 0.6562 kB / 0.8805 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.008434, allocations: 94.81 kB / 0.8806 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.008435, allocations: 3.531 kB / 0.8806 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002862/0.008722, allocations: 73.52 kB / 0.8806 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.00878, allocations: 51.41 kB / 0.8807 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.008966, allocations: 170.1 kB / 0.8808 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.009015, allocations: 29.7 kB / 0.8809 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.009131, allocations: 130.9 kB / 0.881 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.00915, allocations: 11.94 kB / 0.881 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.009255, allocations: 35.36 kB / 0.881 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003422/0.009597, allocations: 0.4884 MB / 0.8815 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.009748, allocations: 62.47 kB / 0.8816 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.009937, allocations: 100.8 kB / 0.8817 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.01012, allocations: 98.5 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01012, allocations: 3.938 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004476/0.01057, allocations: 193.6 kB / 0.882 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.456e-05/0.01062, allocations: 37.62 kB / 0.882 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01063, allocations: 1.375 kB / 0.882 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01065, allocations: 4 kB / 0.882 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.62e-05/0.01066, allocations: 0 / 0.882 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.01067, allocations: 5.375 kB / 0.882 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.0109, allocations: 19.98 kB / 0.882 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.01093, allocations: 7.984 kB / 0.882 GB, free: 1.676 MB / 0.8386 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.0001536/0.01108, allocations: 161.2 kB / 0.8822 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.0111, allocations: 9.016 kB / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.01113, allocations: 11.94 kB / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.01114, allocations: 0 / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.01114, allocations: 4.094 kB / 0.8822 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.01115, allocations: 3.984 kB / 0.8822 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.01131, allocations: 120.6 kB / 0.8823 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01131, allocations: 0 / 0.8823 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.698e-06/0.01132, allocations: 4.219 kB / 0.8823 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.01132, allocations: 0 / 0.8823 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.01133, allocations: 4 kB / 0.8823 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.01133, allocations: 3.938 kB / 0.8823 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01133, allocations: 0 / 0.8823 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.01153, allocations: 96.36 kB / 0.8824 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.01154, allocations: 7.953 kB / 0.8824 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.01156, allocations: 4 kB / 0.8824 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.548e-05/0.01158, allocations: 7.922 kB / 0.8825 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.01162, allocations: 0 / 0.8825 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.01163, allocations: 4 kB / 0.8825 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001236/0.01176, allocations: 131.2 kB / 0.8826 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.01176, allocations: 0 / 0.8826 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003749/0.01213, allocations: 19.98 kB / 0.8826 GB, free: 1.027 MB / 0.8386 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.0002341/0.01237, allocations: 99.19 kB / 0.8827 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004235/0.01279, allocations: 176.8 kB / 0.8829 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01279, allocations: 4.062 kB / 0.8829 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.92e-05/0.01284, allocations: 15.69 kB / 0.8829 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.01315, allocations: 11.92 kB / 0.8829 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/0.01359, allocations: 130.2 kB / 0.883 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.01369, allocations: 63.34 kB / 0.8831 GB, free: 460 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.499e-05/0.01372, allocations: 0 / 0.8831 GB, free: 460 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.01375, allocations: 12.5 kB / 0.8831 GB, free: 448 kB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.01375, allocations: 0 / 0.8831 GB, free: 448 kB / 0.8386 GB Notification: Performance of Templates: time 0.005803/0.01955, allocations: 1.203 MB / 0.8843 GB, free: 15.27 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.506112591014244]