Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.IntegerExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.0009258/0.0009258, allocations: 91.84 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.00593/0.00593, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.273/2.273, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 12 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8364/0.8367, allocations: 142.4 MB / 0.9552 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001032/0.8378, allocations: 0.5776 MB / 0.9558 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.8394, allocations: 1.315 MB / 0.957 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.8395, allocations: 2.844 kB / 0.957 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.8396, allocations: 7.875 kB / 0.957 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.61e-05/0.8397, allocations: 31.47 kB / 0.9571 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.8404, allocations: 246.6 kB / 0.9573 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.8407, allocations: 284.2 kB / 0.9576 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.8408, allocations: 57.77 kB / 0.9576 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.841, allocations: 105.3 kB / 0.9577 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.8412, allocations: 102.7 kB / 0.9578 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.8413, allocations: 10.41 kB / 0.9578 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.651e-05/0.8414, allocations: 28.7 kB / 0.9579 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.072e-05/0.8414, allocations: 34.94 kB / 0.9579 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.8415, allocations: 120.2 kB / 0.958 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.8418, allocations: 306.8 kB / 0.9583 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8418, allocations: 0 / 0.9583 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8418, allocations: 1.375 kB / 0.9583 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.8418, allocations: 0 / 0.9583 GB, free: 5.371 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004962/0.8423, allocations: 0.4942 MB / 0.9588 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.8424, allocations: 9.625 kB / 0.9588 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.8424, allocations: 38.88 kB / 0.9588 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.039e-05/0.8425, allocations: 22.5 kB / 0.9589 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.843, allocations: 312.1 kB / 0.9592 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.8431, allocations: 12.62 kB / 0.9592 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.8431, allocations: 23.25 kB / 0.9592 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.8433, allocations: 152.3 kB / 0.9593 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.8434, allocations: 1.375 kB / 0.9593 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.8434, allocations: 9.375 kB / 0.9594 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.8434, allocations: 2.75 kB / 0.9594 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.8435, allocations: 66.27 kB / 0.9594 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000657/0.8442, allocations: 0.7608 MB / 0.9602 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.656e-05/0.8443, allocations: 59.23 kB / 0.9602 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.8443, allocations: 21.28 kB / 0.9602 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.8443, allocations: 4 kB / 0.9602 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.8445, allocations: 102 kB / 0.9603 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.8445, allocations: 0 / 0.9603 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002717/0.8448, allocations: 126.2 kB / 0.9605 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.8448, allocations: 82.2 kB / 0.9605 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.845, allocations: 221.6 kB / 0.9607 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.845, allocations: 28.83 kB / 0.9608 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/0.8451, allocations: 137.9 kB / 0.9609 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.8452, allocations: 22.73 kB / 0.9609 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.8452, allocations: 39.19 kB / 0.961 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.198e-05/0.8453, allocations: 329.8 kB / 0.9613 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.8454, allocations: 64.66 kB / 0.9613 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.8456, allocations: 117 kB / 0.9615 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.8458, allocations: 197.5 kB / 0.9616 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8458, allocations: 1.375 kB / 0.9616 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004306/0.8462, allocations: 295 kB / 0.9619 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/0.8463, allocations: 60.72 kB / 0.962 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.8463, allocations: 10.05 kB / 0.962 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.8463, allocations: 2.125 kB / 0.962 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.628e-05/0.8464, allocations: 12.31 kB / 0.962 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.8464, allocations: 1.969 kB / 0.962 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.8468, allocations: 78.22 kB / 0.9621 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.8468, allocations: 14.45 kB / 0.9621 GB, free: 1.934 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001313/0.8469, allocations: 154.2 kB / 0.9622 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.847, allocations: 15.09 kB / 0.9623 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.847, allocations: 17.89 kB / 0.9623 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.847, allocations: 1.156 kB / 0.9623 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.847, allocations: 4.969 kB / 0.9623 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.847, allocations: 0.8125 kB / 0.9623 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.8472, allocations: 233.2 kB / 0.9625 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8472, allocations: 1 kB / 0.9625 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.8473, allocations: 3.969 kB / 0.9625 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8473, allocations: 1.031 kB / 0.9625 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.8473, allocations: 1.969 kB / 0.9625 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8473, allocations: 1.031 kB / 0.9625 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8473, allocations: 4 kB / 0.9625 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.8475, allocations: 149 kB / 0.9627 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.8475, allocations: 89.27 kB / 0.9627 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.8475, allocations: 1.75 kB / 0.9627 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-05/0.8476, allocations: 5.125 kB / 0.9628 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.8476, allocations: 7.578 kB / 0.9628 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.8476, allocations: 3.219 kB / 0.9628 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000107/0.8477, allocations: 149 kB / 0.9629 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.172e-06/0.8477, allocations: 3.938 kB / 0.9629 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002675/0.848, allocations: 54.31 kB / 0.963 GB, free: 1.16 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0003926/0.8484, allocations: 0.678 MB / 0.9636 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.8488, allocations: 256.7 kB / 0.9639 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.8488, allocations: 0 / 0.9639 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-05/0.8488, allocations: 34.95 kB / 0.9639 GB, free: 316 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.8491, allocations: 39.47 kB / 0.9639 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.8517, allocations: 2.192 MB / 0.9661 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.852, allocations: 0.7311 MB / 0.9668 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.976e-05/0.8521, allocations: 21.23 kB / 0.9668 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.291e-05/0.8522, allocations: 59.91 kB / 0.9669 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of SimCode: time 4.9e-07/0.8522, allocations: 3.938 kB / 0.9669 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.8672, allocations: 3.886 MB / 0.9707 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.8674, allocations: 218.4 kB / 0.9709 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.644, allocations: 0 / 0.9709 GB, free: 11.61 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches