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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.00126/0.00126, allocations: 99 kB / 15.05 MB, free: 1.105 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.001381/0.001381, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 15.98 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7298/0.7302, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.0008957/0.7311, allocations: 0.5623 MB / 0.9541 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.7326, allocations: 1.245 MB / 0.9554 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.229e-05/0.7327, allocations: 1.312 kB / 0.9554 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.269e-05/0.7328, allocations: 17.05 kB / 0.9554 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.226e-05/0.7329, allocations: 25.7 kB / 0.9554 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.7336, allocations: 212.4 kB / 0.9556 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.7338, allocations: 169.4 kB / 0.9558 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.7339, allocations: 42.88 kB / 0.9558 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.7341, allocations: 97.11 kB / 0.9559 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.7343, allocations: 82.95 kB / 0.956 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.854e-05/0.7343, allocations: 15.75 kB / 0.956 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-05/0.7344, allocations: 31.08 kB / 0.956 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.7345, allocations: 29.75 kB / 0.9561 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.48e-05/0.7346, allocations: 63.27 kB / 0.9561 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.7348, allocations: 248.5 kB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.7348, allocations: 0 / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7348, allocations: 1.438 kB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.7348, allocations: 0 / 0.9563 GB, free: 6.008 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.0005675/0.7354, allocations: 0.4972 MB / 0.9568 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.7354, allocations: 8.5 kB / 0.9568 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.7355, allocations: 51.39 kB / 0.9569 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.201e-05/0.7356, allocations: 25.89 kB / 0.9569 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/0.7363, allocations: 302.3 kB / 0.9572 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.7363, allocations: 11.72 kB / 0.9572 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.7364, allocations: 18.91 kB / 0.9572 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.7366, allocations: 152.2 kB / 0.9574 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.7366, allocations: 0 / 0.9574 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.7366, allocations: 9.766 kB / 0.9574 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.7366, allocations: 7.547 kB / 0.9574 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.7368, allocations: 70.05 kB / 0.9575 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007677/0.7375, allocations: 0.7539 MB / 0.9582 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.973e-05/0.7376, allocations: 63.61 kB / 0.9583 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.7377, allocations: 1.156 kB / 0.9583 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.7379, allocations: 101.7 kB / 0.9584 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.7379, allocations: 0 / 0.9584 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002828/0.7382, allocations: 133.5 kB / 0.9585 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.7382, allocations: 78.83 kB / 0.9586 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.7384, allocations: 211.3 kB / 0.9588 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.7384, allocations: 41.06 kB / 0.9588 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.7385, allocations: 142.7 kB / 0.9589 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.7386, allocations: 14.72 kB / 0.959 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.7386, allocations: 7.031 kB / 0.959 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.7386, allocations: 331.4 kB / 0.9593 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.7388, allocations: 68.12 kB / 0.9593 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.7389, allocations: 134.7 kB / 0.9595 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.7391, allocations: 126.7 kB / 0.9596 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7391, allocations: 0 / 0.9596 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004137/0.7395, allocations: 290.3 kB / 0.9599 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.7396, allocations: 65.02 kB / 0.9599 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.7396, allocations: 2.75 kB / 0.9599 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.7396, allocations: 2.75 kB / 0.9599 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.765e-05/0.7397, allocations: 22.94 kB / 0.96 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.7397, allocations: 2.75 kB / 0.96 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.7402, allocations: 92.14 kB / 0.96 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.7402, allocations: 9.625 kB / 0.9601 GB, free: 2.668 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,extIntSig1.y[4],$PRE.intPul.booPul.y,intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],$PRE.intPul1.booPul.y,intPul1.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.7403, allocations: 146.4 kB / 0.9602 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.7404, allocations: 14.69 kB / 0.9602 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.7404, allocations: 13.06 kB / 0.9602 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.7404, allocations: 1.375 kB / 0.9602 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.7404, allocations: 13.27 kB / 0.9602 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.7405, allocations: 1.375 kB / 0.9602 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.7406, allocations: 237.3 kB / 0.9605 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.7406, allocations: 0 / 0.9605 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.7407, allocations: 8.109 kB / 0.9605 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.7407, allocations: 1.375 kB / 0.9605 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.7407, allocations: 1.375 kB / 0.9605 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.7407, allocations: 5.375 kB / 0.9605 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7407, allocations: 0 / 0.9605 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.7409, allocations: 147.3 kB / 0.9606 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.7409, allocations: 88.64 kB / 0.9607 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.7409, allocations: 9.078 kB / 0.9607 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.079e-05/0.741, allocations: 5.125 kB / 0.9607 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.741, allocations: 11.56 kB / 0.9607 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.741, allocations: 11.23 kB / 0.9607 GB, free: 2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001047/0.7411, allocations: 143.6 kB / 0.9609 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7411, allocations: 4 kB / 0.9609 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002991/0.7414, allocations: 44.41 kB / 0.9609 GB, free: 1.883 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003964/0.7418, allocations: 0.7617 MB / 0.9617 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.7422, allocations: 259.8 kB / 0.9619 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7422, allocations: 0 / 0.9619 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.606e-05/0.7423, allocations: 34.17 kB / 0.9619 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.7425, allocations: 43.22 kB / 0.962 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.7435, allocations: 1.639 MB / 0.9636 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.7438, allocations: 0.7367 MB / 0.9643 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.321e-05/0.7439, allocations: 21.88 kB / 0.9643 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.744, allocations: 52.14 kB / 0.9644 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.744, allocations: 0 / 0.9644 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.7617, allocations: 4.01 MB / 0.9683 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.762, allocations: 198.9 kB / 0.9685 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.436, allocations: 3.5 kB / 0.9685 GB, free: 12.4 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat does not exist to compare? outputFormat=mat