Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_10_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.007705/0.007706, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001224/0.001225, allocations: 194.3 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 67.83 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3418, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002581/0.3445, allocations: 1.004 MB / 1.167 GB, free: 6.305 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002402/0.3469, allocations: 1.331 MB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.347, allocations: 0 / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.3472, allocations: 27.67 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.3473, allocations: 39.66 kB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008261/0.3482, allocations: 278.8 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.3486, allocations: 403.2 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.3488, allocations: 69.88 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.349, allocations: 151.6 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.3492, allocations: 131.5 kB / 1.17 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.771e-05/0.3493, allocations: 36 kB / 1.17 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.3494, allocations: 59.91 kB / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.797e-05/0.3496, allocations: 55.84 kB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.3497, allocations: 139.3 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.3502, allocations: 398.6 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3502, allocations: 0 / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3502, allocations: 7.938 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.3502, allocations: 0 / 1.17 GB, free: 3.199 MB / 0.92 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.00106/0.3513, allocations: 0.6225 MB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3513, allocations: 8.031 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.57e-05/0.3514, allocations: 50.73 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.3515, allocations: 28.8 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009742/0.3524, allocations: 375 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3525, allocations: 12.38 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.3525, allocations: 20.38 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.353, allocations: 219 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.353, allocations: 0 / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.353, allocations: 4 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.353, allocations: 4 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.3535, allocations: 139.8 kB / 1.172 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.3547, allocations: 0.9148 MB / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.355, allocations: 149 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.3552, allocations: 92.3 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.3553, allocations: 4 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003637/0.3556, allocations: 175.4 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.3557, allocations: 0 / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.000889/0.3565, allocations: 261.4 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.3566, allocations: 158.2 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.3569, allocations: 217 kB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.3569, allocations: 33.7 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.3571, allocations: 156.5 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.3571, allocations: 35.73 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.3572, allocations: 57.69 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3574, allocations: 334.8 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.3577, allocations: 99.92 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.3581, allocations: 181.3 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005888/0.3587, allocations: 270.9 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3587, allocations: 0 / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00084/0.3595, allocations: 372.8 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-05/0.3596, allocations: 69.89 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.3596, allocations: 4 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.3596, allocations: 4 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.3598, allocations: 23.97 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.3598, allocations: 7.938 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.3603, allocations: 87.88 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.3604, allocations: 16 kB / 1.175 GB, free: 13.61 MB / 0.9356 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.0001718/0.3605, allocations: 153.7 kB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.3606, allocations: 23.86 kB / 1.175 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.3606, allocations: 21.23 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3607, allocations: 4 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3607, allocations: 3.938 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3607, allocations: 8 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.3609, allocations: 261.5 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3609, allocations: 0 / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.3611, allocations: 23.92 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.3611, allocations: 7.984 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3611, allocations: 3.938 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3611, allocations: 4 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3611, allocations: 0 / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006014/0.3617, allocations: 248.2 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/0.3618, allocations: 89.02 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.3619, allocations: 8 kB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.362, allocations: 19.97 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.3621, allocations: 11.98 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.3621, allocations: 7.938 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001832/0.3623, allocations: 164.5 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.994e-06/0.3623, allocations: 4 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003374/0.3627, allocations: 51.83 kB / 1.176 GB, free: 12.39 MB / 0.9356 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.001131/0.3638, allocations: 0.7913 MB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008095/0.3646, allocations: 335 kB / 1.177 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3646, allocations: 0 / 1.177 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.3649, allocations: 80.44 kB / 1.177 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3653, allocations: 52.77 kB / 1.177 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.3695, allocations: 2.57 MB / 1.18 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.3699, allocations: 0.7437 MB / 1.181 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001886/0.3701, allocations: 41.52 kB / 1.181 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.3702, allocations: 63.36 kB / 1.181 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of SimCode: time 9.02e-07/0.3702, allocations: 0 / 1.181 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.3966, allocations: 5.336 MB / 1.186 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/8.43, allocations: 13.36 kB / 1.186 GB, free: 2.293 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches