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.001353/0.001353, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002096/0.002096, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.785 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.245/3.245, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 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.002147/0.002147, allocations: 70 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3693, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002798/0.3721, allocations: 0.9612 MB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.3742, allocations: 1.358 MB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.3743, allocations: 4 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.3745, allocations: 19.75 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.3746, allocations: 47.75 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009164/0.3755, allocations: 274 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005353/0.3761, allocations: 379.2 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.3762, allocations: 41.78 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.3765, allocations: 159.6 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.3768, allocations: 123.5 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.217e-05/0.3769, allocations: 35.94 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.377, allocations: 55.92 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.3771, allocations: 55.83 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.3773, allocations: 119.5 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.3779, allocations: 402.5 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3779, allocations: 4 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3779, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.3779, allocations: 0 / 1.329 GB, free: 14.36 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.001102/0.379, allocations: 0.555 MB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.379, allocations: 8.031 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.472e-05/0.3791, allocations: 46.73 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/0.3795, allocations: 64.75 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.3805, allocations: 305.1 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.3806, allocations: 16.38 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.3806, allocations: 20.38 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.3811, allocations: 206.1 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3811, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.3811, allocations: 8 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3811, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.3816, allocations: 139.8 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.3829, allocations: 0.836 MB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.3833, allocations: 145 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.3835, allocations: 80.31 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3836, allocations: 7.922 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004992/0.3841, allocations: 167.5 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 2.695e-06/0.3841, allocations: 0 / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0009664/0.385, allocations: 257.3 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.3852, allocations: 158.2 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.3854, allocations: 225 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.3855, allocations: 29.7 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.3856, allocations: 156.3 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.3857, allocations: 32.06 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3858, allocations: 57.69 kB / 1.332 GB, free: 10.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002315/0.386, allocations: 334.8 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.3864, allocations: 163.2 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.3869, allocations: 293.9 kB / 1.333 GB, free: 9.707 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.3875, allocations: 274.9 kB / 1.333 GB, free: 9.398 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3875, allocations: 0 / 1.333 GB, free: 9.398 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009685/0.3885, allocations: 448.5 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.302e-05/0.3886, allocations: 63.39 kB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.3886, allocations: 8.219 kB / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3886, allocations: 7.938 kB / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.3888, allocations: 27.97 kB / 1.334 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.3888, allocations: 7.938 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/0.3892, allocations: 71.8 kB / 1.334 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.3893, allocations: 16 kB / 1.334 GB, free: 8.719 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.000187/0.3895, allocations: 164.8 kB / 1.334 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.3895, allocations: 19.91 kB / 1.334 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.899e-05/0.3896, allocations: 21.33 kB / 1.334 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3896, allocations: 4 kB / 1.334 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.3896, allocations: 0 / 1.334 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3896, allocations: 4 kB / 1.334 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.3898, allocations: 216.6 kB / 1.334 GB, free: 8.242 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3898, allocations: 0 / 1.334 GB, free: 8.242 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.39, allocations: 31.91 kB / 1.334 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.39, allocations: 4 kB / 1.334 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.39, allocations: 11.98 kB / 1.334 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.39, allocations: 0 / 1.334 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.39, allocations: 0 / 1.334 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005911/0.3906, allocations: 236.2 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.3906, allocations: 31.78 kB / 1.335 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3907, allocations: 0 / 1.335 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.3908, allocations: 19.97 kB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.3909, allocations: 15.92 kB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3909, allocations: 7.938 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001535/0.391, allocations: 164.5 kB / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.391, allocations: 0 / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003024/0.3913, allocations: 51.89 kB / 1.335 GB, free: 7.652 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.001138/0.3925, allocations: 0.7758 MB / 1.336 GB, free: 6.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008517/0.3933, allocations: 377.9 kB / 1.336 GB, free: 6.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3933, allocations: 4 kB / 1.336 GB, free: 6.426 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.3936, allocations: 68.44 kB / 1.336 GB, free: 6.359 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.394, allocations: 70.72 kB / 1.336 GB, free: 6.293 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/0.3987, allocations: 2.824 MB / 1.339 GB, free: 3.254 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.3988, allocations: 136.8 kB / 1.339 GB, free: 3.098 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.399, allocations: 38 kB / 1.339 GB, free: 3.062 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.3991, allocations: 63.41 kB / 1.339 GB, free: 3.004 MB / 1.029 GB Notification: Performance of SimCode: time 9.32e-07/0.3991, allocations: 0 / 1.339 GB, free: 3.004 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03995/0.439, allocations: 6.107 MB / 1.345 GB, free: 13.11 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.02, allocations: 12.72 kB / 1.345 GB, free: 13.11 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.92008105572313]