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.001223/0.001223, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.684/2.684, allocations: 469.8 MB / 0.7424 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 70.31 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2883, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002444/0.2908, allocations: 1 MB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.2928, allocations: 1.332 MB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.2929, allocations: 8 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.2931, allocations: 19.73 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.2932, allocations: 35.66 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007586/0.294, allocations: 276.9 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000455/0.2944, allocations: 387.3 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.2946, allocations: 73.62 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.2948, allocations: 159.6 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.2952, allocations: 143.5 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.447e-05/0.2953, allocations: 32 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.2954, allocations: 43.98 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-05/0.2955, allocations: 55.78 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.2956, allocations: 135.4 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.2961, allocations: 387 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2961, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2961, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.2961, allocations: 0 / 1.068 GB, free: 10.14 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009839/0.2971, allocations: 0.607 MB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2972, allocations: 8.031 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.2972, allocations: 50.73 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.2973, allocations: 28.66 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009435/0.2982, allocations: 370.8 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.2983, allocations: 16.38 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.505e-05/0.2983, allocations: 16.38 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.2988, allocations: 211.8 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2988, allocations: 0 / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.2988, allocations: 11.98 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2989, allocations: 4 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005132/0.2994, allocations: 147.7 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.3005, allocations: 0.9147 MB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.3009, allocations: 145 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.3011, allocations: 84.3 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3012, allocations: 7.938 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004291/0.3016, allocations: 163.5 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.744e-06/0.3016, allocations: 0 / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0009017/0.3025, allocations: 257.1 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.3026, allocations: 158.6 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.3028, allocations: 221 kB / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.3029, allocations: 33.7 kB / 1.071 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.303, allocations: 152.1 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.3031, allocations: 31.7 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.3032, allocations: 61.69 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3033, allocations: 334.8 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.3037, allocations: 107.8 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.3041, allocations: 157.6 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006055/0.3047, allocations: 274.9 kB / 1.072 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3047, allocations: 0 / 1.072 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008734/0.3056, allocations: 372.6 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.3056, allocations: 63.39 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.3056, allocations: 4 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3057, allocations: 0 / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.3058, allocations: 31.97 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3058, allocations: 3.938 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.3063, allocations: 75.89 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.3063, allocations: 11.98 kB / 1.073 GB, free: 4.621 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.0001525/0.3065, allocations: 159 kB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.3065, allocations: 15.81 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.3066, allocations: 29.7 kB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3066, allocations: 0 / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.3066, allocations: 8 kB / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3066, allocations: 0 / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.3068, allocations: 257.5 kB / 1.073 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3068, allocations: 0 / 1.073 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.307, allocations: 35.89 kB / 1.073 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.307, allocations: 0 / 1.073 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.307, allocations: 4 kB / 1.073 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.307, allocations: 4 kB / 1.073 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.307, allocations: 4 kB / 1.073 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005776/0.3076, allocations: 240 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.3077, allocations: 96.86 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.3077, allocations: 7.922 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.3079, allocations: 19.98 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.3079, allocations: 15.97 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.308, allocations: 15.94 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001502/0.3081, allocations: 156.5 kB / 1.074 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3081, allocations: 0 / 1.074 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002806/0.3084, allocations: 51.84 kB / 1.074 GB, free: 3.41 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.0009104/0.3093, allocations: 0.7756 MB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007564/0.3101, allocations: 342.5 kB / 1.075 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3101, allocations: 0 / 1.075 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.3104, allocations: 84.31 kB / 1.075 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.3107, allocations: 52.27 kB / 1.075 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.3144, allocations: 2.536 MB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.3147, allocations: 0.7476 MB / 1.078 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.3149, allocations: 29.53 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.835e-05/0.315, allocations: 71.41 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.315, allocations: 4 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.3403, allocations: 5.139 MB / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.3/9.64, allocations: 8 kB / 1.084 GB, free: 9.52 MB / 0.8419 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