Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004393/0.004393, allocations: 100.2 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 194.1 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.681/2.681, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 60.12 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2857, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002022/0.2877, allocations: 1.005 MB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.2894, allocations: 1.326 MB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.134e-05/0.2895, allocations: 7.938 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.2896, allocations: 15.8 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.114e-05/0.2897, allocations: 39.66 kB / 1.223 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/0.2904, allocations: 287.3 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004465/0.2909, allocations: 395.3 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.291, allocations: 64.89 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.2912, allocations: 151.7 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.2914, allocations: 135.5 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.615e-05/0.2915, allocations: 36 kB / 1.224 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.2916, allocations: 51.98 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.2917, allocations: 59.83 kB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.2919, allocations: 139.4 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.2923, allocations: 406.5 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2923, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2923, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.2923, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 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.001013/0.2934, allocations: 0.6264 MB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2934, allocations: 12.03 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/0.2934, allocations: 42.73 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.2935, allocations: 36.8 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008807/0.2944, allocations: 370.9 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.2945, allocations: 20.38 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.2945, allocations: 20.38 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.2949, allocations: 210.6 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.295, allocations: 0 / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.295, allocations: 8 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.295, allocations: 4 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005078/0.2955, allocations: 143.8 kB / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.2966, allocations: 0.9148 MB / 1.226 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.297, allocations: 145 kB / 1.227 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.2972, allocations: 88.23 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.2972, allocations: 0 / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000421/0.2977, allocations: 179.4 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.2977, allocations: 0 / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0008815/0.2986, allocations: 253.3 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.402e-05/0.2987, allocations: 170.6 kB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.2989, allocations: 229 kB / 1.228 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.2989, allocations: 33.7 kB / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.2991, allocations: 152.3 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.2991, allocations: 31.69 kB / 1.228 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.2993, allocations: 61.67 kB / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2994, allocations: 334.8 kB / 1.228 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.2998, allocations: 99.92 kB / 1.228 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.3002, allocations: 175.1 kB / 1.228 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/0.3008, allocations: 274.9 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3008, allocations: 0 / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008646/0.3017, allocations: 372.7 kB / 1.229 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/0.3017, allocations: 63.39 kB / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3017, allocations: 4 kB / 1.229 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3018, allocations: 0 / 1.229 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.3019, allocations: 35.91 kB / 1.229 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3019, allocations: 4.188 kB / 1.229 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.3024, allocations: 83.86 kB / 1.229 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.3025, allocations: 15.98 kB / 1.229 GB, free: 4.621 MB / 0.9825 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.0001576/0.3026, allocations: 153.6 kB / 1.229 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.3027, allocations: 27.84 kB / 1.229 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.554e-05/0.3028, allocations: 25.25 kB / 1.229 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3028, allocations: 4 kB / 1.229 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.3028, allocations: 0 / 1.229 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3028, allocations: 3.984 kB / 1.229 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.303, allocations: 261.4 kB / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3031, allocations: 0 / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.3032, allocations: 23.97 kB / 1.23 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3032, allocations: 4 kB / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3032, allocations: 4 kB / 1.23 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3033, allocations: 7.984 kB / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3033, allocations: 0 / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.3039, allocations: 244.2 kB / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.3039, allocations: 93 kB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.304, allocations: 4 kB / 1.23 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3041, allocations: 15.97 kB / 1.23 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.3042, allocations: 23.92 kB / 1.23 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.3042, allocations: 11.94 kB / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001428/0.3043, allocations: 160.5 kB / 1.23 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3043, allocations: 0 / 1.23 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002953/0.3046, allocations: 51.89 kB / 1.23 GB, free: 3.41 MB / 0.9825 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.0009376/0.3056, allocations: 0.7762 MB / 1.231 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007627/0.3064, allocations: 339 kB / 1.231 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3064, allocations: 3.938 kB / 1.231 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.3067, allocations: 84.53 kB / 1.231 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.307, allocations: 50.2 kB / 1.231 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.3109, allocations: 2.574 MB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.3113, allocations: 0.7437 MB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.3114, allocations: 33.53 kB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.426e-05/0.3115, allocations: 67.41 kB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/0.3115, allocations: 0 / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3933/0.7048, allocations: 5.353 MB / 1.24 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.467/9.172, allocations: 5.688 kB / 1.24 GB, free: 9.297 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches