Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001854/0.001854, allocations: 81.81 kB / 19.18 MB, free: 2.531 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.002276/0.002276, allocations: 167.8 kB / 22.46 MB, free: 5.355 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.506/1.506, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.717/2.717, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.246e-06/3.246e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.293e-05/4.618e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002628/0.002674, allocations: 0.9543 MB / 0.9519 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.005068, allocations: 1.358 MB / 0.9532 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.663e-05/0.005155, allocations: 4 kB / 0.9532 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.005301, allocations: 19.73 kB / 0.9532 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.005439, allocations: 51.64 kB / 0.9533 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008669/0.006306, allocations: 281 kB / 0.9536 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005077/0.006814, allocations: 387.1 kB / 0.9539 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.006987, allocations: 45.77 kB / 0.954 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.007302, allocations: 223.6 kB / 0.9542 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.007516, allocations: 107.7 kB / 0.9543 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.693e-05/0.007583, allocations: 32 kB / 0.9543 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.007797, allocations: 55.98 kB / 0.9544 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.007899, allocations: 55.83 kB / 0.9544 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.008046, allocations: 99.73 kB / 0.9545 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.008596, allocations: 446.7 kB / 0.955 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.0086, allocations: 0 / 0.955 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.002e-06/0.008601, allocations: 7.875 kB / 0.955 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.008607, allocations: 0 / 0.955 GB, free: 7.477 MB / 0.8575 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.001086/0.009693, allocations: 0.5433 MB / 0.9555 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.009733, allocations: 12.03 kB / 0.9555 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000371/0.0101, allocations: 76.75 kB / 0.9556 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009658/0.01107, allocations: 300.8 kB / 0.9559 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.0111, allocations: 12.38 kB / 0.9559 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.442e-05/0.01118, allocations: 20.38 kB / 0.9559 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.01169, allocations: 206.9 kB / 0.9561 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.01171, allocations: 4.125 kB / 0.9561 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.01173, allocations: 4.375 kB / 0.9561 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.01174, allocations: 8.125 kB / 0.9561 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.01226, allocations: 139.8 kB / 0.9562 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.01349, allocations: 0.7819 MB / 0.957 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.01387, allocations: 153 kB / 0.9571 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.01413, allocations: 76.3 kB / 0.9572 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.01416, allocations: 4 kB / 0.9572 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005282/0.01468, allocations: 179.4 kB / 0.9574 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.01469, allocations: 0 / 0.9574 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0009965/0.01568, allocations: 257.5 kB / 0.9576 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001846/0.01587, allocations: 166.2 kB / 0.9578 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.01614, allocations: 225.7 kB / 0.958 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.01619, allocations: 33.7 kB / 0.958 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.01633, allocations: 148.4 kB / 0.9582 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.01637, allocations: 35.8 kB / 0.9582 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.0165, allocations: 53.69 kB / 0.9583 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.01669, allocations: 334.8 kB / 0.9586 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.0171, allocations: 163.4 kB / 0.9587 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.01764, allocations: 282.9 kB / 0.959 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006926/0.01833, allocations: 282.9 kB / 0.9593 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01834, allocations: 0 / 0.9593 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001001/0.01934, allocations: 443.9 kB / 0.9597 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.125e-05/0.01941, allocations: 65.73 kB / 0.9598 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.01942, allocations: 4.469 kB / 0.9598 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.01944, allocations: 3.938 kB / 0.9598 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.01964, allocations: 32.19 kB / 0.9598 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.01965, allocations: 8 kB / 0.9598 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.02009, allocations: 67.86 kB / 0.9599 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.02013, allocations: 19.98 kB / 0.9599 GB, free: 1.957 MB / 0.8575 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.0001816/0.02031, allocations: 153.7 kB / 0.9601 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.02035, allocations: 27.83 kB / 0.9601 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.0204, allocations: 29.27 kB / 0.9601 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.02041, allocations: 4 kB / 0.9601 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.02041, allocations: 0 / 0.9601 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.02042, allocations: 3.938 kB / 0.9601 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.02067, allocations: 185.2 kB / 0.9603 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.02067, allocations: 0 / 0.9603 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.02082, allocations: 23.97 kB / 0.9603 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.02082, allocations: 4 kB / 0.9603 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.02084, allocations: 11.94 kB / 0.9603 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.02085, allocations: 7.938 kB / 0.9603 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02085, allocations: 0 / 0.9603 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/0.02146, allocations: 228.3 kB / 0.9606 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.054e-05/0.02149, allocations: 15.86 kB / 0.9606 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.02153, allocations: 11.94 kB / 0.9606 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.02167, allocations: 27.97 kB / 0.9606 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.02173, allocations: 19.91 kB / 0.9606 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.02175, allocations: 4 kB / 0.9606 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001848/0.02193, allocations: 161.2 kB / 0.9608 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.02193, allocations: 0 / 0.9608 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003014/0.02223, allocations: 51.89 kB / 0.9608 GB, free: 0.9414 MB / 0.8575 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.0001993/0.02243, allocations: 107.2 kB / 0.9609 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008942/0.02333, allocations: 378 kB / 0.9613 GB, free: 432 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.02333, allocations: 0 / 0.9613 GB, free: 432 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.02364, allocations: 80.38 kB / 0.9614 GB, free: 352 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.02401, allocations: 56.2 kB / 0.9614 GB, free: 296 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.02502, allocations: 386.3 kB / 0.9618 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.02521, allocations: 141 kB / 0.9619 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.02533, allocations: 33.62 kB / 0.962 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.02538, allocations: 20.5 kB / 0.962 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/0.02538, allocations: 0 / 0.962 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.00832/0.03371, allocations: 3.323 MB / 0.9652 GB, free: 12.43 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.147716198116541]