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.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.001828/0.001828, allocations: 92.7 kB / 19.44 MB, free: 324 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.002232/0.002232, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.594/1.594, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.208/3.208, allocations: 429.6 MB / 0.673 GB, free: 3.902 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.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 2.334e-06/2.334e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.933e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002273/0.002302, allocations: 0.9589 MB / 0.8785 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.004625, allocations: 1.363 MB / 0.8799 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.949e-05/0.004694, allocations: 1.875 kB / 0.8799 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.004826, allocations: 23.73 kB / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.00494, allocations: 39.66 kB / 0.8799 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008141/0.005754, allocations: 276.6 kB / 0.8802 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.006277, allocations: 387.2 kB / 0.8806 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.006436, allocations: 42.88 kB / 0.8806 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.006756, allocations: 211.6 kB / 0.8808 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.006963, allocations: 111.7 kB / 0.8809 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.75e-05/0.00703, allocations: 32.66 kB / 0.8809 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.007156, allocations: 56.44 kB / 0.881 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.007263, allocations: 55.83 kB / 0.881 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.007431, allocations: 111.4 kB / 0.8811 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006327/0.008063, allocations: 430.8 kB / 0.8816 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.008067, allocations: 0 / 0.8816 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.42e-07/0.008068, allocations: 3.938 kB / 0.8816 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.008074, allocations: 4 kB / 0.8816 GB, free: 2.418 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001115/0.009188, allocations: 0.5472 MB / 0.8821 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.009229, allocations: 11.97 kB / 0.8821 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004035/0.009632, allocations: 82.55 kB / 0.8822 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000978/0.01061, allocations: 310.9 kB / 0.8825 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.01064, allocations: 20.36 kB / 0.8825 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.01069, allocations: 20.38 kB / 0.8825 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.01119, allocations: 202.6 kB / 0.8827 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.0112, allocations: 192 / 0.8827 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.01122, allocations: 8.312 kB / 0.8827 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.01123, allocations: 8.125 kB / 0.8827 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.01174, allocations: 142.3 kB / 0.8829 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.01296, allocations: 0.7879 MB / 0.8836 GB, free: 176 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.01336, allocations: 151.3 kB / 0.8838 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.01362, allocations: 77.45 kB / 0.8839 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.01364, allocations: 4 kB / 0.8839 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005399/0.01418, allocations: 175.4 kB / 0.884 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.01418, allocations: 0 / 0.884 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0009667/0.01515, allocations: 269.4 kB / 0.8843 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.01527, allocations: 162.2 kB / 0.8844 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.01555, allocations: 225.7 kB / 0.8847 GB, free: 15 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.01559, allocations: 29.7 kB / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.01575, allocations: 152.4 kB / 0.8848 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.01579, allocations: 35.73 kB / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.01592, allocations: 53.88 kB / 0.8849 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.01613, allocations: 334.8 kB / 0.8852 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.01653, allocations: 163.3 kB / 0.8854 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.01706, allocations: 296.1 kB / 0.8857 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006709/0.01773, allocations: 267 kB / 0.8859 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.01773, allocations: 4 kB / 0.8859 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001053/0.01879, allocations: 463.8 kB / 0.8864 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.44e-05/0.01886, allocations: 65.73 kB / 0.8864 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.01887, allocations: 4.219 kB / 0.8864 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.01889, allocations: 4 kB / 0.8864 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.01908, allocations: 31.97 kB / 0.8865 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.01909, allocations: 3.938 kB / 0.8865 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.0195, allocations: 68.34 kB / 0.8865 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.01953, allocations: 19.98 kB / 0.8866 GB, free: 12.86 MB / 0.8542 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.0001785/0.01971, allocations: 149.8 kB / 0.8867 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.01976, allocations: 23.84 kB / 0.8867 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.996e-05/0.01982, allocations: 29.31 kB / 0.8868 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01982, allocations: 0 / 0.8868 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.01983, allocations: 4 kB / 0.8868 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.01983, allocations: 3.984 kB / 0.8868 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.02008, allocations: 177.2 kB / 0.8869 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.02008, allocations: 4 kB / 0.8869 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.02023, allocations: 35.91 kB / 0.887 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.02023, allocations: 0 / 0.887 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.02025, allocations: 7.938 kB / 0.887 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.02025, allocations: 0 / 0.887 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.02026, allocations: 7.984 kB / 0.887 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008765/0.02113, allocations: 236.2 kB / 0.8872 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.02117, allocations: 27.84 kB / 0.8872 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.0212, allocations: 7.938 kB / 0.8872 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.02135, allocations: 23.97 kB / 0.8873 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.02142, allocations: 11.98 kB / 0.8873 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.02143, allocations: 4 kB / 0.8873 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001753/0.02161, allocations: 165.2 kB / 0.8874 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02161, allocations: 0 / 0.8874 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003165/0.02192, allocations: 51.89 kB / 0.8875 GB, free: 11.84 MB / 0.8542 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.0002008/0.02213, allocations: 113.5 kB / 0.8876 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008637/0.02299, allocations: 374.2 kB / 0.888 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02299, allocations: 8.062 kB / 0.888 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.02328, allocations: 71.88 kB / 0.888 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.02366, allocations: 64.45 kB / 0.8881 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/0.02445, allocations: 388.7 kB / 0.8885 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.02462, allocations: 132.8 kB / 0.8886 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.02475, allocations: 37.61 kB / 0.8886 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.02481, allocations: 24.5 kB / 0.8887 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.02481, allocations: 0 / 0.8887 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of Templates: time 0.008022/0.03283, allocations: 3.336 MB / 0.8919 GB, free: 7.297 MB / 0.8542 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.372256851987913]