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.001495/0.001495, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00179/0.00179, allocations: 216.4 kB / 22.25 MB, free: 5.113 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 8.223 MB / 206.1 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.323/3.323, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_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.00216/0.00216, allocations: 68.55 kB / 1.177 GB, free: 17.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4035, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002265/0.4058, allocations: 1.022 MB / 1.354 GB, free: 7.449 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.4077, allocations: 1.366 MB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.4078, allocations: 4 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.4079, allocations: 23.73 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.408, allocations: 51.62 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008782/0.4089, allocations: 277.8 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004578/0.4094, allocations: 379.3 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.4095, allocations: 49.77 kB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.4098, allocations: 151.6 kB / 1.356 GB, free: 5.156 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.41, allocations: 135.5 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.406e-05/0.41, allocations: 32 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.4102, allocations: 67.89 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.4102, allocations: 55.84 kB / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.4104, allocations: 139.4 kB / 1.356 GB, free: 4.734 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004931/0.4109, allocations: 410.5 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4109, allocations: 0 / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4109, allocations: 0 / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.4109, allocations: 0 / 1.357 GB, free: 4.332 MB / 1.045 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.0009822/0.4119, allocations: 0.557 MB / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.412, allocations: 12.03 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.95e-05/0.412, allocations: 46.73 kB / 1.357 GB, free: 3.664 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003189/0.4123, allocations: 60.77 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008791/0.4132, allocations: 313 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.4132, allocations: 16.36 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.4133, allocations: 20.38 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.4137, allocations: 206.1 kB / 1.358 GB, free: 3.016 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4137, allocations: 4 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.4138, allocations: 15.92 kB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4138, allocations: 4 kB / 1.358 GB, free: 2.992 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.4142, allocations: 131.8 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.4156, allocations: 0.8789 MB / 1.359 GB, free: 1.926 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.4159, allocations: 141 kB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.4161, allocations: 84.25 kB / 1.359 GB, free: 1.645 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.4162, allocations: 7.984 kB / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004839/0.4166, allocations: 163.5 kB / 1.359 GB, free: 1.449 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.4166, allocations: 0 / 1.359 GB, free: 1.449 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.000864/0.4175, allocations: 257.2 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.4176, allocations: 166.6 kB / 1.36 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.4179, allocations: 221 kB / 1.36 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.4179, allocations: 33.7 kB / 1.36 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.418, allocations: 160.2 kB / 1.36 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.4181, allocations: 27.83 kB / 1.36 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.4182, allocations: 53.69 kB / 1.36 GB, free: 492 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4183, allocations: 330.8 kB / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.4187, allocations: 107.9 kB / 1.361 GB, free: 44 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.419, allocations: 167.2 kB / 1.361 GB, free: 15.85 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.4196, allocations: 278.9 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4196, allocations: 0 / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00086/0.4205, allocations: 380.5 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.467e-05/0.4206, allocations: 67.41 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.4206, allocations: 480 / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.4206, allocations: 4 kB / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.4208, allocations: 27.91 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.4208, allocations: 12.2 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.4212, allocations: 67.81 kB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.4212, allocations: 19.98 kB / 1.362 GB, free: 14.94 MB / 1.061 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.0002077/0.4214, allocations: 150.4 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.4215, allocations: 31.84 kB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.278e-05/0.4215, allocations: 21.33 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.4215, allocations: 4 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4216, allocations: 3.938 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.4216, allocations: 4 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.4219, allocations: 228.6 kB / 1.362 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4219, allocations: 0 / 1.362 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.422, allocations: 27.97 kB / 1.362 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.422, allocations: 0 / 1.362 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.4221, allocations: 12 kB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4221, allocations: 0 / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4221, allocations: 3.938 kB / 1.362 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006239/0.4227, allocations: 240.2 kB / 1.362 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.4227, allocations: 23.8 kB / 1.362 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.4228, allocations: 8 kB / 1.362 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.4229, allocations: 19.97 kB / 1.362 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.423, allocations: 19.97 kB / 1.362 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.423, allocations: 7.938 kB / 1.362 GB, free: 14.06 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001528/0.4231, allocations: 164.5 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4231, allocations: 0 / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003058/0.4234, allocations: 51.89 kB / 1.363 GB, free: 13.85 MB / 1.061 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.0009473/0.4244, allocations: 0.7757 MB / 1.363 GB, free: 13.04 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007288/0.4251, allocations: 310.5 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4251, allocations: 0 / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.4254, allocations: 84.25 kB / 1.364 GB, free: 12.62 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.4257, allocations: 44.33 kB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/0.4297, allocations: 2.57 MB / 1.366 GB, free: 9.844 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.4301, allocations: 0.7476 MB / 1.367 GB, free: 9.066 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.4302, allocations: 30 kB / 1.367 GB, free: 9.039 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.4303, allocations: 71.41 kB / 1.367 GB, free: 8.969 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.4303, allocations: 0 / 1.367 GB, free: 8.969 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.4634, allocations: 5.391 MB / 1.372 GB, free: 3.754 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.72, allocations: 4.812 kB / 1.372 GB, free: 3.754 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 840.0] 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/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: 18.856203853152692]