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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001429/0.001429, allocations: 108 kB / 15.61 MB, free: 152 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.001673/0.001672, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.707/2.707, allocations: 461.9 MB / 0.7347 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.25 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.324, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003107/0.3272, allocations: 1.345 MB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002418/0.3296, allocations: 1.56 MB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003834/0.33, allocations: 4 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.3304, allocations: 35.48 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.3308, allocations: 71.36 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.3324, allocations: 0.4893 MB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008586/0.3332, allocations: 0.6756 MB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000388/0.3336, allocations: 169.1 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.3341, allocations: 255.4 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.3344, allocations: 219.1 kB / 1.058 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.3346, allocations: 64 kB / 1.058 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.3348, allocations: 75.98 kB / 1.058 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.3349, allocations: 79.75 kB / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.3353, allocations: 250.9 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007878/0.3361, allocations: 0.666 MB / 1.059 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3361, allocations: 0 / 1.059 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3361, allocations: 0 / 1.059 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.3361, allocations: 0 / 1.059 GB, free: 2.359 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001479/0.3376, allocations: 0.9429 MB / 1.06 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.3377, allocations: 8.625 kB / 1.06 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.841e-05/0.3378, allocations: 58.73 kB / 1.06 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.3379, allocations: 52.47 kB / 1.06 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.3393, allocations: 479.7 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.3393, allocations: 28.94 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.113e-05/0.3394, allocations: 44.36 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006143/0.34, allocations: 325.1 kB / 1.061 GB, free: 288 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3401, allocations: 0 / 1.061 GB, free: 288 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.3401, allocations: 12 kB / 1.061 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.3401, allocations: 4 kB / 1.061 GB, free: 272 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006246/0.3407, allocations: 258 kB / 1.061 GB, free: 12 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.3424, allocations: 0.9237 MB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.343, allocations: 378.6 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004968/0.3435, allocations: 285.3 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3435, allocations: 4 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005504/0.3441, allocations: 323.1 kB / 1.063 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.3441, allocations: 0 / 1.063 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001604/0.3457, allocations: 0.837 MB / 1.064 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/0.3458, allocations: 191.9 kB / 1.064 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.3461, allocations: 292.5 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/0.3462, allocations: 41.7 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.3463, allocations: 164.8 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.3465, allocations: 134.2 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.3467, allocations: 134.1 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3469, allocations: 346.8 kB / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/0.3475, allocations: 272.8 kB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/0.3481, allocations: 369.8 kB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.3492, allocations: 0.9089 MB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3492, allocations: 0 / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001623/0.3508, allocations: 0.9899 MB / 1.067 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.351, allocations: 259.3 kB / 1.067 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.351, allocations: 4 kB / 1.067 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.351, allocations: 4 kB / 1.067 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.3513, allocations: 63.89 kB / 1.068 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.3513, allocations: 11.92 kB / 1.068 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.3521, allocations: 139.6 kB / 1.068 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.3522, allocations: 67.92 kB / 1.068 GB, free: 8.496 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.0002915/0.3525, allocations: 326.1 kB / 1.068 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.3525, allocations: 39.53 kB / 1.068 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.577e-05/0.3526, allocations: 47.42 kB / 1.068 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3526, allocations: 4 kB / 1.068 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3526, allocations: 0 / 1.068 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3527, allocations: 3.984 kB / 1.068 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.3543, allocations: 1.195 MB / 1.069 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3543, allocations: 0 / 1.069 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.3545, allocations: 67.88 kB / 1.069 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.3546, allocations: 7.938 kB / 1.069 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.3546, allocations: 12 kB / 1.069 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.3546, allocations: 7.938 kB / 1.069 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3546, allocations: 0 / 1.069 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.3557, allocations: 0.7613 MB / 1.07 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.3558, allocations: 116.5 kB / 1.07 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.3558, allocations: 11.98 kB / 1.07 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.356, allocations: 31.91 kB / 1.07 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/0.3561, allocations: 35.91 kB / 1.07 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-05/0.3562, allocations: 55.88 kB / 1.07 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001987/0.3564, allocations: 203.1 kB / 1.071 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3564, allocations: 0 / 1.071 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004459/0.3569, allocations: 96 kB / 1.071 GB, free: 5.301 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.001487/0.3584, allocations: 1.323 MB / 1.072 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001738/0.3601, allocations: 1.202 MB / 1.073 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3602, allocations: 0 / 1.073 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006132/0.3608, allocations: 0.5163 MB / 1.074 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.3614, allocations: 98.78 kB / 1.074 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006444/0.3678, allocations: 4.652 MB / 1.078 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.3682, allocations: 0.7963 MB / 1.079 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002466/0.3684, allocations: 91.2 kB / 1.079 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.3686, allocations: 115.4 kB / 1.079 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of SimCode: time 4e-07/0.3686, allocations: 4 kB / 1.079 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.3951, allocations: 9.743 MB / 1.089 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.362/7.757, allocations: 8.828 kB / 1.089 GB, free: 2.473 MB / 0.8419 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