Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001742/0.001742, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001919/0.001919, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.527/1.527, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.705/2.705, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002917/0.002917, allocations: 71.89 kB / 1.057 GB, free: 1.977 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4091, allocations: 160.7 MB / 1.214 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002907/0.412, allocations: 1.008 MB / 1.215 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002778/0.4148, allocations: 1.335 MB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.911e-05/0.4149, allocations: 7.938 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.4151, allocations: 15.8 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.4152, allocations: 47.64 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009436/0.4162, allocations: 278.2 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.4167, allocations: 383.2 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.4169, allocations: 61.56 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.4171, allocations: 155.7 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.4173, allocations: 135.5 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.572e-05/0.4174, allocations: 36 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.4175, allocations: 51.98 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.12e-05/0.4176, allocations: 59.77 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.4177, allocations: 135.4 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.4182, allocations: 406.5 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4182, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4182, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.4182, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 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.001098/0.4193, allocations: 0.6225 MB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4194, allocations: 12.03 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.371e-05/0.4195, allocations: 32.73 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.4205, allocations: 378.9 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.4205, allocations: 16.38 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.4205, allocations: 20.38 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.421, allocations: 207.8 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4211, allocations: 3.938 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.4211, allocations: 0 / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4211, allocations: 4 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005381/0.4216, allocations: 147.8 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.4229, allocations: 0.9148 MB / 1.22 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.4233, allocations: 149 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.4235, allocations: 80.25 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.4235, allocations: 4 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004131/0.424, allocations: 167.5 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.424, allocations: 0 / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0009895/0.4249, allocations: 253.5 kB / 1.221 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.4251, allocations: 166.3 kB / 1.221 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.4253, allocations: 221 kB / 1.221 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.4253, allocations: 33.7 kB / 1.221 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.4255, allocations: 160.5 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.4255, allocations: 31.75 kB / 1.222 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.4257, allocations: 61.61 kB / 1.222 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4258, allocations: 338.8 kB / 1.222 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.4262, allocations: 95.92 kB / 1.222 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.4266, allocations: 179.2 kB / 1.222 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000668/0.4273, allocations: 270.9 kB / 1.222 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4273, allocations: 4 kB / 1.222 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009724/0.4283, allocations: 376.8 kB / 1.223 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.767e-05/0.4283, allocations: 67.39 kB / 1.223 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4283, allocations: 4 kB / 1.223 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.4283, allocations: 0 / 1.223 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.4285, allocations: 31.91 kB / 1.223 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4285, allocations: 0 / 1.223 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.4291, allocations: 91.86 kB / 1.223 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.4291, allocations: 15.98 kB / 1.223 GB, free: 7.297 MB / 0.9669 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.0001821/0.4293, allocations: 149.8 kB / 1.223 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.4293, allocations: 23.84 kB / 1.223 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.53e-05/0.4294, allocations: 21.25 kB / 1.223 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4294, allocations: 0 / 1.223 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4294, allocations: 8 kB / 1.223 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.4294, allocations: 3.984 kB / 1.223 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.4297, allocations: 261.4 kB / 1.223 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4297, allocations: 4 kB / 1.223 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.4298, allocations: 23.97 kB / 1.223 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4298, allocations: 0 / 1.223 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.4298, allocations: 4 kB / 1.223 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-06/0.4298, allocations: 7.984 kB / 1.223 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4298, allocations: 0 / 1.223 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/0.4305, allocations: 248.1 kB / 1.224 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.4305, allocations: 93 kB / 1.224 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.4306, allocations: 4 kB / 1.224 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.4307, allocations: 20.44 kB / 1.224 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.4308, allocations: 15.98 kB / 1.224 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.4308, allocations: 4 kB / 1.224 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001607/0.4309, allocations: 164.4 kB / 1.224 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4309, allocations: 4 kB / 1.224 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003081/0.4313, allocations: 51.89 kB / 1.224 GB, free: 6.094 MB / 0.9669 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.0001856/0.4314, allocations: 119.1 kB / 1.224 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008258/0.4323, allocations: 310.6 kB / 1.224 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4323, allocations: 0 / 1.224 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.4326, allocations: 87.8 kB / 1.225 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.4329, allocations: 55.08 kB / 1.225 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007293/0.4337, allocations: 428.9 kB / 1.225 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.4341, allocations: 0.7437 MB / 1.226 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.4341, allocations: 23.44 kB / 1.226 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of SimCode: time 3.6e-07/0.4341, allocations: 3.938 kB / 1.226 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of Templates: time 0.006031/0.4402, allocations: 3.148 MB / 1.229 GB, free: 1.133 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.513674784917384]