Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 113.6 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 194.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.109/3.109, allocations: 489.3 MB / 0.7687 GB, free: 3.73 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002035, allocations: 67.89 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229/1.231, allocations: 163.8 MB / 1.263 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002312/1.234, allocations: 1.007 MB / 1.264 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001964/1.236, allocations: 1.328 MB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.175e-05/1.236, allocations: 6.469 kB / 1.265 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/1.236, allocations: 19.27 kB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.933e-05/1.236, allocations: 38.05 kB / 1.265 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008453/1.237, allocations: 280.7 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005315/1.237, allocations: 403.3 kB / 1.266 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/1.238, allocations: 66.52 kB / 1.266 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/1.238, allocations: 154.5 kB / 1.266 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/1.238, allocations: 137.2 kB / 1.266 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.642e-05/1.238, allocations: 33.72 kB / 1.266 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/1.238, allocations: 53.89 kB / 1.266 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.517e-05/1.238, allocations: 58.5 kB / 1.266 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/1.239, allocations: 138.2 kB / 1.266 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000623/1.239, allocations: 406.8 kB / 1.267 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.239, allocations: 0.6094 kB / 1.267 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.164e-06/1.239, allocations: 0.875 kB / 1.267 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.266e-05/1.239, allocations: 0 / 1.267 GB, free: 5.75 MB / 0.9981 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.0009975/1.24, allocations: 0.624 MB / 1.267 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/1.24, allocations: 9.531 kB / 1.267 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/1.24, allocations: 34.11 kB / 1.267 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009402/1.241, allocations: 375.6 kB / 1.268 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/1.241, allocations: 13.86 kB / 1.268 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/1.242, allocations: 29.08 kB / 1.268 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/1.242, allocations: 205.5 kB / 1.268 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/1.242, allocations: 3.938 kB / 1.268 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/1.242, allocations: 6.672 kB / 1.268 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/1.242, allocations: 3.688 kB / 1.268 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000543/1.243, allocations: 139.9 kB / 1.268 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/1.244, allocations: 0.9071 MB / 1.269 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/1.244, allocations: 152.2 kB / 1.269 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/1.244, allocations: 77.27 kB / 1.269 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/1.244, allocations: 2.484 kB / 1.269 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004689/1.245, allocations: 172.9 kB / 1.269 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.883e-06/1.245, allocations: 4 kB / 1.269 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0009806/1.246, allocations: 254.7 kB / 1.269 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/1.246, allocations: 165.2 kB / 1.27 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/1.246, allocations: 223 kB / 1.27 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/1.246, allocations: 34.67 kB / 1.27 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/1.246, allocations: 154.3 kB / 1.27 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/1.246, allocations: 29.11 kB / 1.27 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/1.247, allocations: 59.56 kB / 1.27 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.79e-05/1.247, allocations: 333.2 kB / 1.27 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/1.247, allocations: 107.8 kB / 1.271 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/1.247, allocations: 178.8 kB / 1.271 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006205/1.248, allocations: 270.3 kB / 1.271 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.248, allocations: 0.625 kB / 1.271 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009806/1.249, allocations: 376.4 kB / 1.271 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.453e-05/1.249, allocations: 67.23 kB / 1.271 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.249, allocations: 2.406 kB / 1.271 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.249, allocations: 3.062 kB / 1.271 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/1.249, allocations: 30.66 kB / 1.271 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.249, allocations: 3.031 kB / 1.271 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/1.25, allocations: 82.48 kB / 1.272 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/1.25, allocations: 14.91 kB / 1.272 GB, free: 2.172 MB / 0.9981 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.0001669/1.25, allocations: 162 kB / 1.272 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/1.25, allocations: 25.59 kB / 1.272 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/1.25, allocations: 25.88 kB / 1.272 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/1.25, allocations: 6.328 kB / 1.272 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.25, allocations: 1.938 kB / 1.272 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/1.25, allocations: 0.7812 kB / 1.272 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/1.251, allocations: 255.6 kB / 1.272 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.251, allocations: 1.656 kB / 1.272 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/1.251, allocations: 31.44 kB / 1.272 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.251, allocations: 5.656 kB / 1.272 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/1.251, allocations: 6.609 kB / 1.272 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.251, allocations: 1.781 kB / 1.272 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.251, allocations: 6.203 kB / 1.272 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000624/1.251, allocations: 244.6 kB / 1.272 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/1.251, allocations: 94.73 kB / 1.272 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/1.251, allocations: 8.141 kB / 1.272 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/1.252, allocations: 21.78 kB / 1.272 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/1.252, allocations: 13.42 kB / 1.272 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/1.252, allocations: 9 kB / 1.272 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001443/1.252, allocations: 162.2 kB / 1.273 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.252, allocations: 0 / 1.273 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000352/1.252, allocations: 55.83 kB / 1.273 GB, free: 1.363 MB / 0.9981 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.0001829/1.252, allocations: 112.8 kB / 1.273 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000827/1.253, allocations: 332.2 kB / 1.273 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.253, allocations: 1.594 kB / 1.273 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003059/1.254, allocations: 90.2 kB / 1.273 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/1.254, allocations: 43.81 kB / 1.273 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007838/1.255, allocations: 437.6 kB / 1.274 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/1.255, allocations: 0.7462 MB / 1.274 GB, free: 28 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/1.255, allocations: 23 kB / 1.274 GB, free: 16 kB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/1.255, allocations: 0 / 1.274 GB, free: 16 kB / 0.9981 GB Notification: Performance of Templates: time 0.00712/1.262, allocations: 3.163 MB / 1.277 GB, free: 15.71 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.351737014018]