Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.RealExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_9_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.001432/0.001432, 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.001331/0.001331, allocations: 192.7 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.383/1.383, 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 9.1.3-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 390.3 MB / 0.6647 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001415, allocations: 63.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7578/0.7592, allocations: 140.4 MB / 0.9497 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001993/0.7613, allocations: 0.967 MB / 0.9507 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.7626, allocations: 1.283 MB / 0.9519 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.7627, allocations: 1.281 kB / 0.9519 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.7628, allocations: 23.73 kB / 0.952 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.7629, allocations: 39.92 kB / 0.952 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006173/0.7635, allocations: 256.5 kB / 0.9522 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.7639, allocations: 337.7 kB / 0.9526 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.764, allocations: 51.38 kB / 0.9526 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.7642, allocations: 128.3 kB / 0.9527 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.7643, allocations: 101.5 kB / 0.9528 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.7644, allocations: 30.69 kB / 0.9529 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.862e-05/0.7645, allocations: 48.95 kB / 0.9529 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.7645, allocations: 45.23 kB / 0.9529 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.7646, allocations: 112.9 kB / 0.9531 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.7649, allocations: 333.4 kB / 0.9534 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.7649, allocations: 0 / 0.9534 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7649, allocations: 0 / 0.9534 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.765, allocations: 0 / 0.9534 GB, free: 6.344 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007519/0.7657, allocations: 0.5721 MB / 0.9539 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.7658, allocations: 9.094 kB / 0.9539 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.7658, allocations: 37.91 kB / 0.954 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.7659, allocations: 26.28 kB / 0.954 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.7661, allocations: 257.7 kB / 0.9542 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.7662, allocations: 7.344 kB / 0.9543 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.7662, allocations: 16.47 kB / 0.9543 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.7666, allocations: 179.3 kB / 0.9544 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7666, allocations: 3.938 kB / 0.9544 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.7666, allocations: 10.08 kB / 0.9545 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.7667, allocations: 2.219 kB / 0.9545 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.7671, allocations: 135.1 kB / 0.9546 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009142/0.7681, allocations: 0.8778 MB / 0.9554 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.7684, allocations: 169 kB / 0.9556 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.7687, allocations: 87.36 kB / 0.9557 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.7687, allocations: 2.188 kB / 0.9557 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004573/0.7692, allocations: 186.6 kB / 0.9559 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 2.435e-06/0.7692, allocations: 0 / 0.9559 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0009279/0.7702, allocations: 286.3 kB / 0.9561 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.7702, allocations: 156.6 kB / 0.9563 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.7704, allocations: 207.2 kB / 0.9565 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.7704, allocations: 30.42 kB / 0.9565 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.7705, allocations: 139 kB / 0.9566 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.7706, allocations: 29.34 kB / 0.9567 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.7707, allocations: 53.59 kB / 0.9567 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.595e-05/0.7707, allocations: 327.6 kB / 0.957 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.7711, allocations: 129 kB / 0.9572 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.7715, allocations: 174.6 kB / 0.9573 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/0.772, allocations: 295.2 kB / 0.9576 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7721, allocations: 0 / 0.9576 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008844/0.7729, allocations: 405.4 kB / 0.958 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.773, allocations: 73.27 kB / 0.9581 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.773, allocations: 2.219 kB / 0.9581 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.773, allocations: 7.281 kB / 0.9581 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.7732, allocations: 26.38 kB / 0.9581 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.7732, allocations: 6.75 kB / 0.9581 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/0.7737, allocations: 81.94 kB / 0.9582 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.7737, allocations: 15.77 kB / 0.9582 GB, free: 2.176 MB / 0.7169 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.00011/0.7739, allocations: 137 kB / 0.9583 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.7739, allocations: 16.72 kB / 0.9583 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.7739, allocations: 26.55 kB / 0.9584 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.7739, allocations: 5.688 kB / 0.9584 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.774, allocations: 1.375 kB / 0.9584 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.774, allocations: 1.562 kB / 0.9584 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.7741, allocations: 245.8 kB / 0.9586 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7742, allocations: 4.75 kB / 0.9586 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.7743, allocations: 30.47 kB / 0.9586 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.7743, allocations: 1.344 kB / 0.9586 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.7743, allocations: 6.344 kB / 0.9587 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.7743, allocations: 10.09 kB / 0.9587 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7744, allocations: 5.109 kB / 0.9587 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/0.7749, allocations: 251.5 kB / 0.9589 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.775, allocations: 94.3 kB / 0.959 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.775, allocations: 6.516 kB / 0.959 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.7752, allocations: 18.52 kB / 0.959 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.7752, allocations: 18.19 kB / 0.959 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.7753, allocations: 12.84 kB / 0.9591 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001176/0.7754, allocations: 149.6 kB / 0.9592 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7754, allocations: 0 / 0.9592 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003199/0.7757, allocations: 43.78 kB / 0.9592 GB, free: 1.305 MB / 0.7169 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.0008511/0.7766, allocations: 0.805 MB / 0.96 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007749/0.7774, allocations: 379.3 kB / 0.9604 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7774, allocations: 0 / 0.9604 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.7777, allocations: 95.98 kB / 0.9605 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.778, allocations: 45.56 kB / 0.9605 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.7822, allocations: 2.545 MB / 0.963 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.7826, allocations: 0.7275 MB / 0.9637 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001267/0.7828, allocations: 23.52 kB / 0.9637 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.7829, allocations: 50.75 kB / 0.9638 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of SimCode: time 1.132e-06/0.7829, allocations: 0 / 0.9638 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.8056, allocations: 4.96 MB / 0.9686 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/8.343, allocations: 10.62 kB / 0.9686 GB, free: 10.96 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches