Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.RealExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_9_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.006537/0.006536, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001291/0.001291, allocations: 192 kB / 16.67 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.458/2.458, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.09 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3187, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002629/0.3214, allocations: 1.051 MB / 1.089 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.3236, allocations: 1.313 MB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.3238, allocations: 4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.324, allocations: 23.73 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.3242, allocations: 35.66 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008438/0.3251, allocations: 270.4 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004531/0.3255, allocations: 367.3 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.3257, allocations: 73.45 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.326, allocations: 143.6 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.3262, allocations: 131.5 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.2e-05/0.3263, allocations: 32 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.3264, allocations: 47.98 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.3265, allocations: 39.84 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.3266, allocations: 131.4 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.3271, allocations: 371.7 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3271, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3271, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.3271, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00124/0.3284, allocations: 0.6265 MB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.3284, allocations: 8.031 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.674e-05/0.3285, allocations: 54.67 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.517e-05/0.3286, allocations: 24.66 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.329, allocations: 252.9 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.329, allocations: 12.61 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.3291, allocations: 24.36 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.3296, allocations: 195.3 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3296, allocations: 0 / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.3296, allocations: 4 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3296, allocations: 7.938 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.3302, allocations: 168.5 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.3314, allocations: 0.6365 MB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.3319, allocations: 194.7 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/0.3323, allocations: 140.7 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.3323, allocations: 8 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005472/0.3329, allocations: 197 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 5.951e-06/0.3329, allocations: 3.984 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001256/0.3342, allocations: 460.5 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.3343, allocations: 118.7 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.3345, allocations: 207.2 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/0.3346, allocations: 33.7 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.3347, allocations: 132.4 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.134e-05/0.3348, allocations: 51.28 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.335, allocations: 69.67 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3351, allocations: 330.8 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004423/0.3356, allocations: 155.9 kB / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.336, allocations: 208.2 kB / 1.096 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008113/0.3368, allocations: 464.2 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3369, allocations: 0 / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001067/0.3379, allocations: 0.535 MB / 1.097 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.892e-05/0.338, allocations: 128.6 kB / 1.097 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.338, allocations: 4 kB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.3381, allocations: 3.984 kB / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.3383, allocations: 31.97 kB / 1.097 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.3383, allocations: 7.938 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.3387, allocations: 83.84 kB / 1.097 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/0.3388, allocations: 27.97 kB / 1.097 GB, free: 8.055 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001897/0.339, allocations: 193.2 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.3391, allocations: 27.66 kB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.3391, allocations: 29.8 kB / 1.097 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3391, allocations: 0 / 1.097 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3392, allocations: 0 / 1.097 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3392, allocations: 0 / 1.097 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.3402, allocations: 0.6889 MB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3402, allocations: 3.938 kB / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.3404, allocations: 35.91 kB / 1.098 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3404, allocations: 0 / 1.098 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.3404, allocations: 11.98 kB / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3405, allocations: 0 / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3405, allocations: 0 / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008265/0.3413, allocations: 460.6 kB / 1.098 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.916e-05/0.3414, allocations: 100.8 kB / 1.098 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.3414, allocations: 4 kB / 1.098 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.3416, allocations: 19.97 kB / 1.098 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.3417, allocations: 23.92 kB / 1.098 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/0.3418, allocations: 23.97 kB / 1.098 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001473/0.3419, allocations: 156.6 kB / 1.098 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3419, allocations: 0 / 1.098 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003389/0.3423, allocations: 59.94 kB / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.001189/0.3435, allocations: 1 MB / 1.1 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.3445, allocations: 0.5658 MB / 1.1 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3445, allocations: 0 / 1.1 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004152/0.3449, allocations: 246.7 kB / 1.1 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.3454, allocations: 46.03 kB / 1.1 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/0.3499, allocations: 2.993 MB / 1.103 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3502, allocations: 0.7358 MB / 1.104 GB, free: 268 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.3504, allocations: 41.5 kB / 1.104 GB, free: 228 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.3505, allocations: 59.42 kB / 1.104 GB, free: 168 kB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.3505, allocations: 0 / 1.104 GB, free: 168 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.3741, allocations: 5.731 MB / 1.11 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/8.056, allocations: 9.719 kB / 1.11 GB, free: 10.57 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches