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.001817/0.001817, allocations: 80.44 kB / 19.18 MB, free: 2.527 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.002155/0.002155, allocations: 164.7 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.543/1.543, allocations: 177.1 MB / 202.8 MB, free: 9.188 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 3.064/3.064, allocations: 377.8 MB / 0.6221 GB, free: 12.58 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.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.445e-06/2.445e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.285e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002176/0.002209, allocations: 0.9708 MB / 0.9824 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.004249, allocations: 1.357 MB / 0.9837 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.00432, allocations: 0 / 0.9837 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.004451, allocations: 27.67 kB / 0.9837 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.004564, allocations: 43.66 kB / 0.9838 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00081/0.005374, allocations: 277.7 kB / 0.984 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004912/0.005866, allocations: 387.2 kB / 0.9844 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.006044, allocations: 41.78 kB / 0.9844 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.006355, allocations: 211.7 kB / 0.9846 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.006573, allocations: 119.6 kB / 0.9848 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.139e-05/0.006645, allocations: 32 kB / 0.9848 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.006782, allocations: 55.92 kB / 0.9848 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.00689, allocations: 59.77 kB / 0.9849 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.007046, allocations: 103.7 kB / 0.985 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005722/0.007618, allocations: 438.7 kB / 0.9854 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.007622, allocations: 3.938 kB / 0.9854 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.41e-07/0.007623, allocations: 0 / 0.9854 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.007629, allocations: 0 / 0.9854 GB, free: 7.867 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001122/0.008751, allocations: 0.555 MB / 0.986 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.008801, allocations: 8.031 kB / 0.986 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004203/0.009221, allocations: 72.77 kB / 0.986 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.01024, allocations: 308.8 kB / 0.9863 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.01027, allocations: 20.36 kB / 0.9863 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.01032, allocations: 20.38 kB / 0.9864 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.01083, allocations: 198.4 kB / 0.9866 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.01084, allocations: 192 / 0.9866 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.01087, allocations: 8.359 kB / 0.9866 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.01088, allocations: 12.06 kB / 0.9866 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005241/0.0114, allocations: 135.8 kB / 0.9867 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.01271, allocations: 0.7937 MB / 0.9875 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.0131, allocations: 149 kB / 0.9876 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.01336, allocations: 76.3 kB / 0.9877 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.01338, allocations: 4 kB / 0.9877 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005488/0.01393, allocations: 175.4 kB / 0.9879 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.843e-06/0.01393, allocations: 0 / 0.9879 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.001008/0.01494, allocations: 253.8 kB / 0.9881 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.01508, allocations: 170.1 kB / 0.9883 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.01536, allocations: 221.7 kB / 0.9885 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/0.01543, allocations: 37.69 kB / 0.9885 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.01557, allocations: 148.4 kB / 0.9887 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.01561, allocations: 31.69 kB / 0.9887 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.01573, allocations: 53.69 kB / 0.9887 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.01591, allocations: 335 kB / 0.9891 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.01631, allocations: 163.3 kB / 0.9892 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/0.01685, allocations: 286.5 kB / 0.9895 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006755/0.01753, allocations: 286.9 kB / 0.9898 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01753, allocations: 0 / 0.9898 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001042/0.01857, allocations: 448 kB / 0.9902 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-05/0.01865, allocations: 63.39 kB / 0.9903 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.01866, allocations: 4 kB / 0.9903 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.01869, allocations: 4.219 kB / 0.9903 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.01888, allocations: 35.91 kB / 0.9903 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.01889, allocations: 4 kB / 0.9903 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.01937, allocations: 67.81 kB / 0.9904 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.01941, allocations: 15.98 kB / 0.9904 GB, free: 2.332 MB / 0.9356 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.0002175/0.01963, allocations: 153.8 kB / 0.9905 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.01967, allocations: 31.73 kB / 0.9906 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.454e-05/0.01974, allocations: 21.33 kB / 0.9906 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.01974, allocations: 4 kB / 0.9906 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.01975, allocations: 0 / 0.9906 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.01976, allocations: 7.984 kB / 0.9906 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.02001, allocations: 169.3 kB / 0.9907 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.02001, allocations: 0 / 0.9907 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.02016, allocations: 23.97 kB / 0.9908 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.02016, allocations: 8 kB / 0.9908 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.02018, allocations: 7.938 kB / 0.9908 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.02018, allocations: 8 kB / 0.9908 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.02019, allocations: 7.922 kB / 0.9908 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006457/0.02084, allocations: 232.2 kB / 0.991 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.02087, allocations: 19.89 kB / 0.991 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.0209, allocations: 7.938 kB / 0.991 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.02105, allocations: 15.98 kB / 0.9911 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/0.02112, allocations: 19.91 kB / 0.9911 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.02113, allocations: 8 kB / 0.9911 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001629/0.02129, allocations: 161.2 kB / 0.9912 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.02129, allocations: 0 / 0.9912 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003292/0.02162, allocations: 51.89 kB / 0.9913 GB, free: 1.316 MB / 0.9356 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.0002092/0.02183, allocations: 119.2 kB / 0.9914 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009149/0.02275, allocations: 369.9 kB / 0.9918 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.02275, allocations: 448 / 0.9918 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.02306, allocations: 79.88 kB / 0.9918 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.02346, allocations: 48.33 kB / 0.9919 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008542/0.02431, allocations: 382.4 kB / 0.9922 GB, free: 260 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.02449, allocations: 136.8 kB / 0.9924 GB, free: 96 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.02461, allocations: 41.92 kB / 0.9924 GB, free: 56 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.02466, allocations: 20.5 kB / 0.9924 GB, free: 36 kB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.02467, allocations: 0 / 0.9924 GB, free: 36 kB / 0.9356 GB Notification: Performance of Templates: time 0.008179/0.03284, allocations: 3.315 MB / 0.9957 GB, free: 12.8 MB / 0.9512 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: 8.672250390052795]