Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.0008152/0.0008152, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008058/0.0008058, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8977/0.8977, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.775/1.775, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] 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.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.312e-05, allocations: 5.094 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001548/0.001582, allocations: 0.9697 MB / 0.9831 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.002963, allocations: 1.357 MB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.774e-05/0.00303, allocations: 3.938 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.003136, allocations: 11.81 kB / 0.9845 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 8.277e-05/0.003219, allocations: 55.58 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.003801, allocations: 282 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002992/0.0041, allocations: 383.2 kB / 0.9852 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.004241, allocations: 45.77 kB / 0.9852 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.004443, allocations: 211.7 kB / 0.9854 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.004577, allocations: 107.7 kB / 0.9855 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.004616, allocations: 32 kB / 0.9855 GB, free: 14.63 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-05/0.004704, allocations: 55.92 kB / 0.9856 GB, free: 14.58 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.004772, allocations: 59.81 kB / 0.9857 GB, free: 14.52 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.212e-05/0.004864, allocations: 99.75 kB / 0.9858 GB, free: 14.42 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.005225, allocations: 446.7 kB / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.005229, allocations: 4 kB / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/0.005231, allocations: 0 / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.005236, allocations: 0 / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007059/0.005942, allocations: 0.5433 MB / 0.9867 GB, free: 13.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.005979, allocations: 11.97 kB / 0.9867 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/0.006246, allocations: 80.75 kB / 0.9868 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005321/0.006778, allocations: 300.8 kB / 0.9871 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.0068, allocations: 12.38 kB / 0.9871 GB, free: 12.97 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.006832, allocations: 28.36 kB / 0.9871 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.007108, allocations: 202.4 kB / 0.9873 GB, free: 12.72 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.007118, allocations: 192 / 0.9873 GB, free: 12.72 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.007132, allocations: 4.375 kB / 0.9873 GB, free: 12.72 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.00714, allocations: 8.125 kB / 0.9873 GB, free: 12.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.007396, allocations: 151.8 kB / 0.9875 GB, free: 12.56 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/0.00806, allocations: 0.7935 MB / 0.9882 GB, free: 11.72 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.008329, allocations: 145 kB / 0.9884 GB, free: 11.54 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.008443, allocations: 76.3 kB / 0.9885 GB, free: 11.45 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.008458, allocations: 4 kB / 0.9885 GB, free: 11.44 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/0.008744, allocations: 179.4 kB / 0.9886 GB, free: 11.24 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.008745, allocations: 0 / 0.9886 GB, free: 11.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0004972/0.009242, allocations: 261.5 kB / 0.9889 GB, free: 10.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.009301, allocations: 158.2 kB / 0.989 GB, free: 10.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.009453, allocations: 229.7 kB / 0.9893 GB, free: 10.56 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.00948, allocations: 29.7 kB / 0.9893 GB, free: 10.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.009563, allocations: 160.5 kB / 0.9894 GB, free: 10.36 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.009587, allocations: 27.75 kB / 0.9895 GB, free: 10.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.009661, allocations: 53.69 kB / 0.9895 GB, free: 10.28 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.883e-05/0.00974, allocations: 334.8 kB / 0.9898 GB, free: 9.941 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.00995, allocations: 167.3 kB / 0.99 GB, free: 9.766 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.01018, allocations: 290.8 kB / 0.9903 GB, free: 9.426 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.01049, allocations: 270.9 kB / 0.9905 GB, free: 9.121 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01049, allocations: 0 / 0.9905 GB, free: 9.121 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004998/0.01099, allocations: 448 kB / 0.991 GB, free: 8.652 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.01104, allocations: 59.41 kB / 0.991 GB, free: 8.582 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01104, allocations: 4 kB / 0.991 GB, free: 8.578 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.01106, allocations: 4 kB / 0.991 GB, free: 8.574 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.01116, allocations: 23.97 kB / 0.991 GB, free: 8.551 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.01117, allocations: 16.14 kB / 0.9911 GB, free: 8.535 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.01137, allocations: 71.81 kB / 0.9911 GB, free: 8.465 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.01139, allocations: 15.98 kB / 0.9911 GB, free: 8.449 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001065/0.0115, allocations: 145.8 kB / 0.9913 GB, free: 8.297 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.01152, allocations: 23.8 kB / 0.9913 GB, free: 8.273 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.01157, allocations: 33.33 kB / 0.9913 GB, free: 8.238 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01157, allocations: 4 kB / 0.9913 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.01157, allocations: 0 / 0.9913 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01158, allocations: 0 / 0.9913 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.01171, allocations: 181.2 kB / 0.9915 GB, free: 8.027 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01171, allocations: 0 / 0.9915 GB, free: 8.027 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.01178, allocations: 27.91 kB / 0.9915 GB, free: 8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01178, allocations: 4 kB / 0.9915 GB, free: 7.996 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.01179, allocations: 3.938 kB / 0.9915 GB, free: 7.992 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.01179, allocations: 8 kB / 0.9916 GB, free: 7.984 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01179, allocations: 0 / 0.9916 GB, free: 7.984 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.0121, allocations: 240.2 kB / 0.9918 GB, free: 7.719 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.01212, allocations: 19.91 kB / 0.9918 GB, free: 7.699 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.01214, allocations: 11.92 kB / 0.9918 GB, free: 7.688 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.281e-05/0.0122, allocations: 20.45 kB / 0.9918 GB, free: 7.668 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.01225, allocations: 15.97 kB / 0.9918 GB, free: 7.652 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.01226, allocations: 8 kB / 0.9919 GB, free: 7.645 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.183e-05/0.01235, allocations: 161.2 kB / 0.992 GB, free: 7.484 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.01235, allocations: 0 / 0.992 GB, free: 7.484 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000202/0.01256, allocations: 51.89 kB / 0.9921 GB, free: 7.434 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001387/0.01269, allocations: 115 kB / 0.9922 GB, free: 7.309 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.01315, allocations: 381.9 kB / 0.9925 GB, free: 6.898 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01315, allocations: 3.938 kB / 0.9925 GB, free: 6.895 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.0133, allocations: 84.44 kB / 0.9926 GB, free: 6.812 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.01355, allocations: 44.39 kB / 0.9927 GB, free: 6.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.01408, allocations: 415.9 kB / 0.9931 GB, free: 6.316 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.217e-05/0.01417, allocations: 136.9 kB / 0.9932 GB, free: 6.16 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.01421, allocations: 20.48 kB / 0.9932 GB, free: 6.141 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.01421, allocations: 3.938 kB / 0.9932 GB, free: 6.137 MB / 0.948 GB Notification: Performance of Templates: time 0.003703/0.01791, allocations: 3.137 MB / 0.9963 GB, free: 3.027 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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: 7.075541886501014]