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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001014/0.001014, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006938/0.006939, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.362/1.362, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003887, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7636/0.764, allocations: 142.4 MB / 0.9552 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.0009315/0.765, allocations: 0.6884 MB / 0.9558 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.7663, allocations: 1.304 MB / 0.9571 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.7663, allocations: 5.156 kB / 0.9571 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.398e-05/0.7664, allocations: 13.05 kB / 0.9571 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.132e-05/0.7665, allocations: 31 kB / 0.9572 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.7671, allocations: 235.3 kB / 0.9574 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.7673, allocations: 288.3 kB / 0.9577 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.7675, allocations: 54.17 kB / 0.9577 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.7676, allocations: 101 kB / 0.9578 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.7677, allocations: 88.95 kB / 0.9579 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.7677, allocations: 11.78 kB / 0.9579 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.349e-05/0.7678, allocations: 26.52 kB / 0.9579 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.7679, allocations: 33 kB / 0.958 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.768, allocations: 125.8 kB / 0.9581 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.7682, allocations: 307.7 kB / 0.9584 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.7682, allocations: 0 / 0.9584 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7683, allocations: 0 / 0.9584 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.7683, allocations: 4 kB / 0.9584 GB, free: 5.266 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.0006639/0.7689, allocations: 0.538 MB / 0.9589 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.769, allocations: 14.09 kB / 0.9589 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.271e-05/0.769, allocations: 41.33 kB / 0.959 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.7691, allocations: 21.75 kB / 0.959 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.7693, allocations: 259 kB / 0.9592 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.7693, allocations: 11.25 kB / 0.9592 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.7694, allocations: 20.72 kB / 0.9593 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.7697, allocations: 195 kB / 0.9594 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.7698, allocations: 3.938 kB / 0.9595 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.7698, allocations: 5.375 kB / 0.9595 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.7698, allocations: 2.75 kB / 0.9595 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.7703, allocations: 166.8 kB / 0.9596 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008205/0.7711, allocations: 0.898 MB / 0.9605 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.7714, allocations: 174.6 kB / 0.9607 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.7717, allocations: 110 kB / 0.9608 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.7717, allocations: 5.344 kB / 0.9608 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003659/0.7721, allocations: 193.8 kB / 0.961 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.7721, allocations: 0 / 0.961 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0009319/0.773, allocations: 342.1 kB / 0.9613 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.7731, allocations: 160.9 kB / 0.9614 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.7732, allocations: 207.6 kB / 0.9616 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.7733, allocations: 34.14 kB / 0.9617 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.7733, allocations: 127.1 kB / 0.9618 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.7734, allocations: 28.58 kB / 0.9618 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.7734, allocations: 34.64 kB / 0.9618 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.515e-05/0.7735, allocations: 322.3 kB / 0.9622 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.7738, allocations: 136.3 kB / 0.9623 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.7742, allocations: 197.3 kB / 0.9625 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005943/0.7748, allocations: 332.6 kB / 0.9628 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7748, allocations: 0 / 0.9628 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008569/0.7757, allocations: 438.7 kB / 0.9632 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.7757, allocations: 74.36 kB / 0.9633 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7757, allocations: 2.406 kB / 0.9633 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.7758, allocations: 6.312 kB / 0.9633 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.7759, allocations: 42.22 kB / 0.9633 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.7759, allocations: 2.562 kB / 0.9633 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/0.7764, allocations: 108.6 kB / 0.9634 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.7765, allocations: 14.17 kB / 0.9634 GB, free: 1.094 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.0001035/0.7766, allocations: 140.1 kB / 0.9636 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.7766, allocations: 24.58 kB / 0.9636 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.7767, allocations: 18.56 kB / 0.9636 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.7767, allocations: 6.219 kB / 0.9636 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7767, allocations: 1.156 kB / 0.9636 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7767, allocations: 6.359 kB / 0.9636 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.7769, allocations: 241.5 kB / 0.9639 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.7769, allocations: 1.156 kB / 0.9639 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.777, allocations: 36.28 kB / 0.9639 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.777, allocations: 2.188 kB / 0.9639 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.777, allocations: 7.156 kB / 0.9639 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.7771, allocations: 6.625 kB / 0.9639 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7771, allocations: 7.984 kB / 0.9639 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.7776, allocations: 288.4 kB / 0.9642 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.7777, allocations: 93.77 kB / 0.9643 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.7777, allocations: 7 kB / 0.9643 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.7778, allocations: 34.5 kB / 0.9643 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.7779, allocations: 22.39 kB / 0.9643 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.7779, allocations: 3.656 kB / 0.9644 GB, free: 336 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.961e-05/0.778, allocations: 143.7 kB / 0.9645 GB, free: 228 kB / 0.7169 GB Notification: Performance of sort global known variables: time 7.22e-07/0.778, allocations: 0 / 0.9645 GB, free: 228 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002733/0.7783, allocations: 49.91 kB / 0.9645 GB, free: 220 kB / 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.0008705/0.7792, allocations: 0.8356 MB / 0.9654 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008219/0.78, allocations: 404 kB / 0.9657 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.78, allocations: 0 / 0.9657 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.7803, allocations: 110.1 kB / 0.9658 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.7807, allocations: 44.58 kB / 0.9659 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.7845, allocations: 2.67 MB / 0.9685 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.7849, allocations: 0.7267 MB / 0.9692 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.302e-05/0.785, allocations: 23.59 kB / 0.9692 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.785, allocations: 46.48 kB / 0.9693 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.693e-06/0.785, allocations: 0 / 0.9693 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03727/0.8223, allocations: 4.492 MB / 0.9737 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004435/0.8228, allocations: 222.7 kB / 0.9739 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.616, allocations: 0 / 0.9739 GB, free: 9.918 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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