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.001587/0.001587, allocations: 103.1 kB / 16.45 MB, free: 6.449 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.001579/0.001579, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.465/1.465, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.229/3.229, allocations: 0.49 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.5 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3513, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002388/0.3536, allocations: 1.016 MB / 1.322 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.3557, allocations: 1.365 MB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.313e-05/0.3558, allocations: 8 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.3559, allocations: 15.75 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.356, allocations: 47.64 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007996/0.3568, allocations: 269.2 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004462/0.3572, allocations: 379.3 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.3574, allocations: 61.48 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.3576, allocations: 155.7 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.3578, allocations: 139.4 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.88e-05/0.3579, allocations: 32 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.358, allocations: 59.97 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.399e-05/0.3581, allocations: 51.84 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.3583, allocations: 143.3 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004965/0.3588, allocations: 398.6 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3588, allocations: 0 / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3588, allocations: 4 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.3588, allocations: 0 / 1.325 GB, free: 15.23 MB / 1.029 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.001071/0.3599, allocations: 0.6224 MB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3599, allocations: 15.98 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.36, allocations: 46.73 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.3604, allocations: 64.75 kB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.3614, allocations: 375 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.3614, allocations: 12.38 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.3614, allocations: 24.36 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.3619, allocations: 202.2 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3619, allocations: 0 / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.362, allocations: 8 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.362, allocations: 0 / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005584/0.3625, allocations: 147.7 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.3638, allocations: 0.9109 MB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.3642, allocations: 157 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.3644, allocations: 84.3 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.3645, allocations: 0 / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004249/0.3649, allocations: 167.5 kB / 1.328 GB, free: 12.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.3649, allocations: 0 / 1.328 GB, free: 12.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0009686/0.3659, allocations: 257.8 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.974e-05/0.3659, allocations: 162.2 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.3662, allocations: 217 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.3662, allocations: 33.7 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3664, allocations: 152.3 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.3664, allocations: 39.98 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.3665, allocations: 57.69 kB / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3667, allocations: 330.8 kB / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.3671, allocations: 99.91 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.3675, allocations: 173.3 kB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006801/0.3682, allocations: 282.9 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3682, allocations: 0 / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000961/0.3691, allocations: 376.8 kB / 1.33 GB, free: 9.828 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.166e-05/0.3692, allocations: 67.41 kB / 1.33 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.3692, allocations: 4 kB / 1.33 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3692, allocations: 0 / 1.33 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.3694, allocations: 31.91 kB / 1.33 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3694, allocations: 7.984 kB / 1.33 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004463/0.3699, allocations: 75.81 kB / 1.33 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.3699, allocations: 15.98 kB / 1.33 GB, free: 9.617 MB / 1.029 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.0001624/0.3701, allocations: 149.7 kB / 1.33 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.3701, allocations: 15.91 kB / 1.33 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.3701, allocations: 25.23 kB / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.3702, allocations: 4 kB / 1.33 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/0.3702, allocations: 0 / 1.33 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3702, allocations: 4 kB / 1.33 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.3704, allocations: 261.4 kB / 1.33 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3704, allocations: 4 kB / 1.33 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.3706, allocations: 27.97 kB / 1.33 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3706, allocations: 0 / 1.33 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3706, allocations: 4 kB / 1.33 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3706, allocations: 4 kB / 1.33 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3706, allocations: 3.938 kB / 1.33 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/0.3713, allocations: 240.2 kB / 1.331 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.3713, allocations: 96.97 kB / 1.331 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.3714, allocations: 11.98 kB / 1.331 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.3715, allocations: 11.98 kB / 1.331 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.3716, allocations: 19.92 kB / 1.331 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.3716, allocations: 11.92 kB / 1.331 GB, free: 8.625 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001525/0.3717, allocations: 160.5 kB / 1.331 GB, free: 8.469 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3717, allocations: 0 / 1.331 GB, free: 8.469 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003147/0.372, allocations: 59.88 kB / 1.331 GB, free: 8.41 MB / 1.029 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.00103/0.3731, allocations: 0.7717 MB / 1.332 GB, free: 7.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008177/0.3739, allocations: 318.5 kB / 1.332 GB, free: 7.262 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3739, allocations: 3.938 kB / 1.332 GB, free: 7.258 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.3742, allocations: 71.88 kB / 1.332 GB, free: 7.188 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.3746, allocations: 52.95 kB / 1.332 GB, free: 7.137 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.3787, allocations: 2.56 MB / 1.335 GB, free: 4.402 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.3791, allocations: 0.748 MB / 1.335 GB, free: 3.629 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.3793, allocations: 41.5 kB / 1.335 GB, free: 3.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.3794, allocations: 71.41 kB / 1.335 GB, free: 3.523 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3794, allocations: 0 / 1.335 GB, free: 3.523 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.4095, allocations: 5.247 MB / 1.341 GB, free: 14.44 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/8.712, allocations: 3.984 kB / 1.341 GB, free: 14.43 MB / 1.045 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 15.39774748403579]