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.001218/0.001219, 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.00146/0.001459, allocations: 197 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.327/2.327, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.89 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6054/0.6067, allocations: 140.4 MB / 0.9497 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.0019/0.6086, allocations: 1.048 MB / 0.9508 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.6099, allocations: 1.307 MB / 0.952 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.61, allocations: 2.75 kB / 0.952 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.6101, allocations: 19.73 kB / 0.952 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.991e-05/0.6102, allocations: 35.62 kB / 0.9521 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006208/0.6108, allocations: 272 kB / 0.9523 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.6111, allocations: 364.3 kB / 0.9527 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.6113, allocations: 78.27 kB / 0.9528 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.6114, allocations: 131.4 kB / 0.9529 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.6116, allocations: 121.3 kB / 0.953 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.6116, allocations: 33.31 kB / 0.953 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.6117, allocations: 51 kB / 0.9531 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.6118, allocations: 38.39 kB / 0.9531 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.6119, allocations: 130.7 kB / 0.9532 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.6122, allocations: 362.3 kB / 0.9536 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.6122, allocations: 1.375 kB / 0.9536 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.133e-06/0.6122, allocations: 0 / 0.9536 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.6123, allocations: 0 / 0.9536 GB, free: 6.352 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007852/0.613, allocations: 0.6262 MB / 0.9542 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.6131, allocations: 9.125 kB / 0.9542 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.6131, allocations: 51.7 kB / 0.9543 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.138e-05/0.6132, allocations: 27.5 kB / 0.9543 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.6134, allocations: 260.5 kB / 0.9545 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.6135, allocations: 13.8 kB / 0.9546 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.6135, allocations: 27.23 kB / 0.9546 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.6139, allocations: 197.4 kB / 0.9548 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.614, allocations: 0 / 0.9548 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.614, allocations: 6.75 kB / 0.9548 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.614, allocations: 1.5 kB / 0.9548 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/0.6145, allocations: 169.7 kB / 0.9549 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008714/0.6154, allocations: 0.6351 MB / 0.9556 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.6159, allocations: 198.8 kB / 0.9557 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.6162, allocations: 144.7 kB / 0.9559 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.6163, allocations: 0 / 0.9559 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004515/0.6167, allocations: 201 kB / 0.9561 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.6167, allocations: 0 / 0.9561 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001068/0.6178, allocations: 467.2 kB / 0.9565 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.6178, allocations: 115.5 kB / 0.9566 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.618, allocations: 207 kB / 0.9568 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.618, allocations: 34.17 kB / 0.9569 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.6181, allocations: 127.5 kB / 0.957 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.6182, allocations: 47.8 kB / 0.957 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.6183, allocations: 72.2 kB / 0.9571 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.6183, allocations: 332.8 kB / 0.9574 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.6187, allocations: 156.6 kB / 0.9576 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.6192, allocations: 204.8 kB / 0.9578 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006499/0.6198, allocations: 465.6 kB / 0.9582 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6198, allocations: 0 / 0.9582 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009496/0.6208, allocations: 0.5301 MB / 0.9587 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.6208, allocations: 129.7 kB / 0.9588 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6209, allocations: 4.797 kB / 0.9588 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.6209, allocations: 2.156 kB / 0.9589 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.6211, allocations: 36.28 kB / 0.9589 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6211, allocations: 2.188 kB / 0.9589 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/0.6216, allocations: 83.78 kB / 0.959 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.6216, allocations: 35.92 kB / 0.959 GB, free: 2.137 MB / 0.7169 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.000126/0.6218, allocations: 205.1 kB / 0.9592 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.6218, allocations: 21.28 kB / 0.9592 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.6218, allocations: 18.38 kB / 0.9592 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.6219, allocations: 2.656 kB / 0.9592 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.6219, allocations: 4 kB / 0.9592 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6219, allocations: 4.891 kB / 0.9592 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008999/0.6228, allocations: 0.6911 MB / 0.9599 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6228, allocations: 0 / 0.9599 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.623, allocations: 39.86 kB / 0.96 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.623, allocations: 0 / 0.96 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.623, allocations: 11.25 kB / 0.96 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.623, allocations: 0.8438 kB / 0.96 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.623, allocations: 3.938 kB / 0.96 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006852/0.6237, allocations: 462.5 kB / 0.9604 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.6237, allocations: 94.48 kB / 0.9605 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.6238, allocations: 5.375 kB / 0.9605 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.624, allocations: 19.69 kB / 0.9605 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.624, allocations: 32.03 kB / 0.9606 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.6241, allocations: 24.86 kB / 0.9606 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.787e-05/0.6242, allocations: 148.1 kB / 0.9607 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6242, allocations: 0 / 0.9607 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003127/0.6245, allocations: 61.91 kB / 0.9608 GB, free: 0.7266 MB / 0.7169 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.0009908/0.6255, allocations: 0.9974 MB / 0.9618 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.6265, allocations: 0.5865 MB / 0.9623 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6266, allocations: 1.062 kB / 0.9623 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.627, allocations: 245.8 kB / 0.9626 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.6274, allocations: 51.36 kB / 0.9626 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.6318, allocations: 2.995 MB / 0.9655 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.6321, allocations: 0.7391 MB / 0.9663 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.6322, allocations: 42.28 kB / 0.9663 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.827e-05/0.6323, allocations: 57.33 kB / 0.9664 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.6323, allocations: 1.062 kB / 0.9664 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.6578, allocations: 5.671 MB / 0.9719 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/8.229, allocations: 9.031 kB / 0.9719 GB, free: 9.402 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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