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.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001373/0.001373, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.312/1.312, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.665/2.665, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.52 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2783, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002076/0.2804, allocations: 1.052 MB / 1.053 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.2821, allocations: 1.373 MB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.542e-05/0.2822, allocations: 8 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.2823, allocations: 15.86 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.2824, allocations: 31.72 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.2831, allocations: 246 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.2834, allocations: 335.2 kB / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.2836, allocations: 69.64 kB / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.2838, allocations: 123.7 kB / 1.055 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.284, allocations: 143.5 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.526e-05/0.2841, allocations: 16 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.099e-05/0.2842, allocations: 39.92 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.2842, allocations: 47.83 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.2844, allocations: 123.4 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.2847, allocations: 363 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2847, allocations: 4 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2847, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2847, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 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.0008524/0.2856, allocations: 0.6072 MB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2856, allocations: 15.91 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.2857, allocations: 46.73 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.247e-05/0.2858, allocations: 36.56 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008951/0.2867, allocations: 362.8 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.2867, allocations: 16.31 kB / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.2868, allocations: 20.38 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.2872, allocations: 206.7 kB / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2872, allocations: 0 / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.2872, allocations: 7.984 kB / 1.057 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.2872, allocations: 8 kB / 1.057 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.2877, allocations: 147.7 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.2887, allocations: 0.9031 MB / 1.058 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.289, allocations: 160.9 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.2892, allocations: 76.31 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.2892, allocations: 4 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003807/0.2896, allocations: 171.5 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.2896, allocations: 0 / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0008291/0.2905, allocations: 249.5 kB / 1.059 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.2906, allocations: 162.1 kB / 1.059 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.2908, allocations: 228.9 kB / 1.059 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.2908, allocations: 29.7 kB / 1.059 GB, free: 496 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2909, allocations: 156.1 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.291, allocations: 31.62 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.2911, allocations: 53.78 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2912, allocations: 330.8 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.2915, allocations: 107.8 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.2918, allocations: 156.9 kB / 1.06 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.2924, allocations: 266.9 kB / 1.06 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2924, allocations: 4 kB / 1.06 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007924/0.2932, allocations: 372.4 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/0.2933, allocations: 67.39 kB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2933, allocations: 8.219 kB / 1.061 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2933, allocations: 7.938 kB / 1.061 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.2934, allocations: 27.91 kB / 1.061 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2935, allocations: 4 kB / 1.061 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.2939, allocations: 67.81 kB / 1.061 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.2939, allocations: 20 kB / 1.061 GB, free: 14.72 MB / 0.8262 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.0001427/0.2941, allocations: 157.6 kB / 1.061 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.2941, allocations: 19.81 kB / 1.061 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.021e-05/0.2942, allocations: 25.23 kB / 1.061 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2942, allocations: 4 kB / 1.061 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2942, allocations: 0 / 1.061 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2942, allocations: 0 / 1.061 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.2944, allocations: 257.5 kB / 1.061 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.2944, allocations: 8 kB / 1.061 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.2946, allocations: 23.97 kB / 1.061 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2946, allocations: 4 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.2946, allocations: 4 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2946, allocations: 4 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.2946, allocations: 3.938 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.2952, allocations: 240 kB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.2952, allocations: 89.39 kB / 1.062 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.2953, allocations: 12 kB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.2954, allocations: 15.97 kB / 1.062 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.2955, allocations: 19.92 kB / 1.062 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.2955, allocations: 7.938 kB / 1.062 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001372/0.2956, allocations: 160.5 kB / 1.062 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2956, allocations: 0 / 1.062 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003052/0.2959, allocations: 55.83 kB / 1.062 GB, free: 13.52 MB / 0.8262 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.0009107/0.2969, allocations: 0.7813 MB / 1.063 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007361/0.2976, allocations: 338.6 kB / 1.063 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2976, allocations: 4 kB / 1.063 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.2979, allocations: 75.88 kB / 1.063 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.2983, allocations: 48.78 kB / 1.063 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/0.3021, allocations: 2.608 MB / 1.066 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.3024, allocations: 0.744 MB / 1.067 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.3025, allocations: 33.53 kB / 1.067 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.533e-05/0.3026, allocations: 69.28 kB / 1.067 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.3026, allocations: 3.938 kB / 1.067 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.3174, allocations: 4.758 MB / 1.071 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.3177, allocations: 229.9 kB / 1.072 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.022, allocations: 0 / 1.072 GB, free: 3.738 MB / 0.8262 GB (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 --timeout=50 --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) 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) Reference file matches