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.006821/0.006821, allocations: 101.3 kB / 15.73 MB, free: 6.051 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.001406/0.001406, allocations: 190.9 kB / 16.67 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.503/2.503, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8537/0.8549, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002326/0.8573, allocations: 1.024 MB / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.8593, allocations: 1.331 MB / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.8595, allocations: 0 / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.8596, allocations: 23.73 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.8598, allocations: 39.66 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008985/0.8607, allocations: 273.2 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000493/0.8612, allocations: 403.2 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.8614, allocations: 65.66 kB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.8617, allocations: 155.6 kB / 1.169 GB, free: 492 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.8619, allocations: 127.6 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.862, allocations: 32 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.8621, allocations: 55.97 kB / 1.17 GB, free: 276 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.8622, allocations: 63.77 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.8624, allocations: 131.4 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.8629, allocations: 410.1 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8629, allocations: 4 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8629, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.8629, allocations: 4 kB / 1.17 GB, free: 15.68 MB / 0.9044 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.000988/0.8639, allocations: 0.6263 MB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.8639, allocations: 8.922 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.042e-05/0.864, allocations: 46.73 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.763e-05/0.8641, allocations: 32.8 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009438/0.865, allocations: 375 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.8651, allocations: 16.38 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.8652, allocations: 24.36 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.8656, allocations: 202.2 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.8656, allocations: 7.938 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.8657, allocations: 7.984 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.8657, allocations: 4 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000492/0.8662, allocations: 139.8 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.8673, allocations: 0.9033 MB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.8676, allocations: 156.9 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.8679, allocations: 80.3 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.8679, allocations: 4 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003719/0.8683, allocations: 175.4 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.874e-06/0.8683, allocations: 0 / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0008822/0.8692, allocations: 261.5 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.003e-05/0.8693, allocations: 162.2 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.8695, allocations: 221 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.8696, allocations: 33.7 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.8697, allocations: 160.2 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.8697, allocations: 31.83 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.8699, allocations: 65.67 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.87, allocations: 330.8 kB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.8703, allocations: 99.91 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.8707, allocations: 169.4 kB / 1.174 GB, free: 11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005928/0.8713, allocations: 278.9 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8713, allocations: 0 / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008715/0.8722, allocations: 372.6 kB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.441e-05/0.8723, allocations: 63.62 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8723, allocations: 3.938 kB / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.8723, allocations: 7.984 kB / 1.175 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.8725, allocations: 27.98 kB / 1.175 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.8725, allocations: 3.984 kB / 1.175 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.873, allocations: 87.86 kB / 1.175 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.8731, allocations: 15.98 kB / 1.175 GB, free: 10.08 MB / 0.9044 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.0001624/0.8732, allocations: 156 kB / 1.175 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.8733, allocations: 23.86 kB / 1.175 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.963e-05/0.8733, allocations: 25.23 kB / 1.175 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.8733, allocations: 0 / 1.175 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.8734, allocations: 4 kB / 1.175 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8734, allocations: 0 / 1.175 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.8736, allocations: 257.5 kB / 1.176 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/0.8737, allocations: 4 kB / 1.176 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.8738, allocations: 27.91 kB / 1.176 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.8738, allocations: 0 / 1.176 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.8738, allocations: 4.469 kB / 1.176 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.8738, allocations: 3.938 kB / 1.176 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.8738, allocations: 4 kB / 1.176 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005991/0.8744, allocations: 240.2 kB / 1.176 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.8745, allocations: 97 kB / 1.176 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.8746, allocations: 7.984 kB / 1.176 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.8747, allocations: 11.98 kB / 1.176 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.8748, allocations: 27.84 kB / 1.176 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.8748, allocations: 11.94 kB / 1.176 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001305/0.8749, allocations: 156.5 kB / 1.176 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8749, allocations: 4 kB / 1.176 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003205/0.8752, allocations: 55.89 kB / 1.176 GB, free: 8.871 MB / 0.9044 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.0009121/0.8762, allocations: 0.7834 MB / 1.177 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007735/0.8769, allocations: 342.5 kB / 1.177 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.877, allocations: 0 / 1.177 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.8772, allocations: 75.88 kB / 1.177 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.8776, allocations: 55.2 kB / 1.177 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.8815, allocations: 2.574 MB / 1.18 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.8819, allocations: 0.7437 MB / 1.181 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001249/0.882, allocations: 33.53 kB / 1.181 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.8821, allocations: 71.41 kB / 1.181 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/0.8821, allocations: 0 / 1.181 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05328/0.9354, allocations: 5.341 MB / 1.186 GB, free: 14.78 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.456/9.391, allocations: 15.62 kB / 1.186 GB, free: 14.77 MB / 0.92 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