Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.RealExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.000939/0.0009389, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006941/0.006941, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.364/1.364, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.749/2.749, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003383, allocations: 15.67 kB / 0.9029 GB, free: 36.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3002, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001515/0.3018, allocations: 1.032 MB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.3039, allocations: 1.611 MB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.3041, allocations: 4 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.3043, allocations: 19.73 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.3044, allocations: 59.56 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.3055, allocations: 480.3 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005574/0.3061, allocations: 0.5546 MB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/0.3064, allocations: 161.1 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.3067, allocations: 191.3 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.3069, allocations: 175.2 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.346e-05/0.307, allocations: 24 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.3071, allocations: 36 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.3072, allocations: 55.77 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.3074, allocations: 220.6 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.308, allocations: 0.6151 MB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.308, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.363e-06/0.308, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.308, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001056/0.3091, allocations: 0.8611 MB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3091, allocations: 11.97 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.816e-05/0.3092, allocations: 62.72 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.3093, allocations: 48.47 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.3106, allocations: 0.5014 MB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.3107, allocations: 24.94 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.428e-05/0.3108, allocations: 40.38 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006454/0.3114, allocations: 337.1 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3115, allocations: 0 / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.3115, allocations: 11.98 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.3115, allocations: 8 kB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.3122, allocations: 282 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.3137, allocations: 0.9316 MB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006419/0.3144, allocations: 398.8 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/0.3149, allocations: 294.1 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.3149, allocations: 8 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005693/0.3155, allocations: 346.9 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.054e-06/0.3155, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001576/0.3171, allocations: 0.8722 MB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.414e-05/0.3172, allocations: 191.9 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.3174, allocations: 288.5 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.855e-05/0.3175, allocations: 41.7 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.3177, allocations: 160.9 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.3178, allocations: 134.2 kB / 1.07 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.321e-05/0.3179, allocations: 57.69 kB / 1.07 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.318, allocations: 350.8 kB / 1.07 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/0.3186, allocations: 284.8 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/0.3192, allocations: 377.8 kB / 1.071 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.3204, allocations: 0.9362 MB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3204, allocations: 0 / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001628/0.3221, allocations: 1.017 MB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.3222, allocations: 259.3 kB / 1.073 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.3222, allocations: 4 kB / 1.073 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.3223, allocations: 7.984 kB / 1.073 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.3226, allocations: 71.89 kB / 1.073 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.3226, allocations: 11.97 kB / 1.073 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008587/0.3235, allocations: 193.7 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.3236, allocations: 67.92 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.000361/0.324, allocations: 314.1 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.324, allocations: 43.53 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.3242, allocations: 43.48 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.3242, allocations: 7.938 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.3242, allocations: 3.938 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.3242, allocations: 3.984 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.3262, allocations: 1.223 MB / 1.075 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3262, allocations: 0 / 1.075 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.3265, allocations: 67.89 kB / 1.075 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3265, allocations: 3.938 kB / 1.075 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.3266, allocations: 19.98 kB / 1.075 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.3266, allocations: 3.938 kB / 1.075 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3266, allocations: 0 / 1.075 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.3278, allocations: 0.7806 MB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.272e-05/0.3279, allocations: 116.5 kB / 1.076 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.3279, allocations: 11.98 kB / 1.076 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.3282, allocations: 39.91 kB / 1.076 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.957e-05/0.3283, allocations: 39.91 kB / 1.076 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.3284, allocations: 51.88 kB / 1.076 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002177/0.3286, allocations: 195.1 kB / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3286, allocations: 0 / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004838/0.3291, allocations: 107.9 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.001619/0.3307, allocations: 1.342 MB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.3323, allocations: 1.144 MB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3323, allocations: 0 / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006233/0.3329, allocations: 0.5286 MB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.3336, allocations: 80.55 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006633/0.3402, allocations: 4.819 MB / 1.084 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.3405, allocations: 0.8004 MB / 1.085 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002507/0.3408, allocations: 95.19 kB / 1.085 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.341, allocations: 115.4 kB / 1.085 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of SimCode: time 8.42e-07/0.341, allocations: 0 / 1.085 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.3613, allocations: 9.092 MB / 1.094 GB, free: 124 kB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.3615, allocations: 224.1 kB / 1.094 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.277, allocations: 0 / 1.094 GB, free: 15.86 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches