Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001947/0.001947, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002394/0.002394, allocations: 170 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.53/1.53, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.966/2.966, allocations: 377.8 MB / 0.6221 GB, free: 12.56 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.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.33e-05/3.594e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002493/0.002529, allocations: 1.237 MB / 0.9826 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.004913, allocations: 1.579 MB / 0.9842 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.005037, allocations: 4 kB / 0.9842 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.005213, allocations: 35.55 kB / 0.9842 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.00539, allocations: 83.3 kB / 0.9843 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.0067, allocations: 0.5025 MB / 0.9848 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000764/0.007464, allocations: 0.6559 MB / 0.9854 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.007777, allocations: 109.3 kB / 0.9855 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004533/0.00823, allocations: 367.4 kB / 0.9859 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.008522, allocations: 195.5 kB / 0.9861 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.008637, allocations: 64 kB / 0.9861 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.00881, allocations: 75.98 kB / 0.9862 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.00892, allocations: 87.61 kB / 0.9863 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.009175, allocations: 187.6 kB / 0.9865 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008506/0.01003, allocations: 0.7596 MB / 0.9872 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.01003, allocations: 0 / 0.9872 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.362e-06/0.01003, allocations: 4 kB / 0.9872 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.01004, allocations: 4 kB / 0.9872 GB, free: 5.988 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001352/0.01139, allocations: 0.8788 MB / 0.9881 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.01143, allocations: 8.031 kB / 0.9881 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.01157, allocations: 52.66 kB / 0.9881 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.01288, allocations: 404.8 kB / 0.9885 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.01292, allocations: 24.88 kB / 0.9885 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.02e-05/0.013, allocations: 40.38 kB / 0.9886 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007812/0.01378, allocations: 461 kB / 0.989 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.0138, allocations: 4.188 kB / 0.989 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.01382, allocations: 8.375 kB / 0.989 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.01384, allocations: 8.125 kB / 0.989 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007969/0.01463, allocations: 394.3 kB / 0.9894 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.0162, allocations: 0.74 MB / 0.9901 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007928/0.017, allocations: 483.8 kB / 0.9906 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/0.01757, allocations: 397.1 kB / 0.991 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.01759, allocations: 0 / 0.991 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007023/0.0183, allocations: 455.5 kB / 0.9914 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 2.334e-06/0.0183, allocations: 0 / 0.9914 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.001979/0.02028, allocations: 1.1 MB / 0.9925 GB, free: 160 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003439/0.02062, allocations: 195.9 kB / 0.9927 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/0.02101, allocations: 284.4 kB / 0.9929 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.415e-05/0.0211, allocations: 41.7 kB / 0.993 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.02137, allocations: 164.9 kB / 0.9931 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.02153, allocations: 142.9 kB / 0.9933 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.02179, allocations: 130.1 kB / 0.9934 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002355/0.02202, allocations: 346.8 kB / 0.9937 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008576/0.02288, allocations: 0.5275 MB / 0.9943 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008606/0.02374, allocations: 0.6065 MB / 0.9948 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.02503, allocations: 0.9214 MB / 0.9957 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.02504, allocations: 3.938 kB / 0.9957 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00192/0.02696, allocations: 1.264 MB / 0.997 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002074/0.02716, allocations: 263.2 kB / 0.9972 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.02718, allocations: 4 kB / 0.9972 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.0272, allocations: 4 kB / 0.9972 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.02751, allocations: 68.17 kB / 0.9973 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.02752, allocations: 4 kB / 0.9973 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/0.02832, allocations: 135.6 kB / 0.9974 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.02847, allocations: 79.84 kB / 0.9975 GB, free: 10.51 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0004026/0.02887, allocations: 318.3 kB / 0.9978 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.02894, allocations: 39.77 kB / 0.9979 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.589e-05/0.02904, allocations: 39.36 kB / 0.9979 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.02905, allocations: 8 kB / 0.9979 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.577e-06/0.02906, allocations: 0 / 0.9979 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.02907, allocations: 3.984 kB / 0.9979 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.03098, allocations: 1.219 MB / 0.9991 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.03098, allocations: 0 / 0.9991 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.03124, allocations: 71.89 kB / 0.9992 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.03124, allocations: 0 / 0.9992 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.03128, allocations: 12 kB / 0.9992 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.03128, allocations: 0 / 0.9992 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.03128, allocations: 0 / 0.9992 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.03263, allocations: 0.9073 MB / 1 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.03267, allocations: 35.7 kB / 1 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.03273, allocations: 12 kB / 1 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.03295, allocations: 27.97 kB / 1 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.03307, allocations: 39.94 kB / 1 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/0.03315, allocations: 51.92 kB / 1 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00021/0.03336, allocations: 187.1 kB / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.03336, allocations: 0 / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004641/0.03383, allocations: 111.9 kB / 1.001 GB, free: 7.227 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0002475/0.03407, allocations: 131 kB / 1.001 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00188/0.03595, allocations: 1.434 MB / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.03596, allocations: 0 / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007755/0.03673, allocations: 0.6301 MB / 1.003 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.03732, allocations: 93.03 kB / 1.003 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.03881, allocations: 0.9256 MB / 1.004 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.03901, allocations: 192.3 kB / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002203/0.03923, allocations: 91.2 kB / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/0.03931, allocations: 32.5 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of SimCode: time 7.71e-07/0.03931, allocations: 0 / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of Templates: time 0.01566/0.05497, allocations: 6.973 MB / 1.011 GB, free: 12.52 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.589303564280272]