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.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.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.001119/0.001119, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001182/0.001182, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.448/1.448, allocations: 222.9 MB / 239.9 MB, free: 4.562 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.438/2.438, allocations: 390.2 MB / 0.6644 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 63.89 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7657/0.7673, allocations: 140.4 MB / 0.9492 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002173/0.7695, allocations: 0.9253 MB / 0.9502 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.7711, allocations: 1.284 MB / 0.9514 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.7712, allocations: 1.469 kB / 0.9514 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.7713, allocations: 13.23 kB / 0.9514 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.892e-05/0.7714, allocations: 26.69 kB / 0.9514 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007159/0.7721, allocations: 245.1 kB / 0.9517 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.7725, allocations: 342.8 kB / 0.952 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.7727, allocations: 63.25 kB / 0.9521 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.7728, allocations: 125.2 kB / 0.9522 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.7731, allocations: 132 kB / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.223e-05/0.7731, allocations: 28.69 kB / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.318e-05/0.7732, allocations: 43.17 kB / 0.9524 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.7733, allocations: 42.69 kB / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.7734, allocations: 120.1 kB / 0.9525 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.7737, allocations: 332.5 kB / 0.9529 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7737, allocations: 0 / 0.9529 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7737, allocations: 0 / 0.9529 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.7738, allocations: 1.438 kB / 0.9529 GB, free: 6.508 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.0006203/0.7744, allocations: 0.5394 MB / 0.9534 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.7744, allocations: 9.594 kB / 0.9534 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.7745, allocations: 46.52 kB / 0.9534 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.7746, allocations: 27.66 kB / 0.9535 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000625/0.7752, allocations: 300.1 kB / 0.9537 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.7752, allocations: 12.09 kB / 0.9538 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.7753, allocations: 26.67 kB / 0.9538 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.7755, allocations: 149.8 kB / 0.9539 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.7755, allocations: 0 / 0.9539 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.7756, allocations: 5.344 kB / 0.9539 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.7756, allocations: 7.812 kB / 0.9539 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.7757, allocations: 65.38 kB / 0.954 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006668/0.7764, allocations: 0.753 MB / 0.9547 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.65e-05/0.7765, allocations: 55.55 kB / 0.9548 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.674e-05/0.7765, allocations: 29.83 kB / 0.9548 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.7765, allocations: 0 / 0.9548 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.7767, allocations: 102.5 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.7767, allocations: 0 / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002883/0.777, allocations: 128.6 kB / 0.955 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.777, allocations: 83.5 kB / 0.9551 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.7772, allocations: 212.8 kB / 0.9553 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.7773, allocations: 29.39 kB / 0.9553 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.7774, allocations: 149.6 kB / 0.9555 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.7774, allocations: 14.62 kB / 0.9555 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.7775, allocations: 71.45 kB / 0.9556 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.7776, allocations: 329.9 kB / 0.9559 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.7777, allocations: 64.84 kB / 0.956 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.7779, allocations: 117.7 kB / 0.9561 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.7781, allocations: 202.7 kB / 0.9563 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7781, allocations: 0 / 0.9563 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004279/0.7785, allocations: 295.8 kB / 0.9565 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.7786, allocations: 68.61 kB / 0.9566 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.7786, allocations: 2.25 kB / 0.9566 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.7786, allocations: 2.281 kB / 0.9566 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.7787, allocations: 12.03 kB / 0.9566 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.7787, allocations: 6.5 kB / 0.9566 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.779, allocations: 49.06 kB / 0.9567 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.7791, allocations: 16.98 kB / 0.9567 GB, free: 3.039 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.0001268/0.7792, allocations: 145.4 kB / 0.9568 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.7792, allocations: 23 kB / 0.9568 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.7793, allocations: 18.45 kB / 0.9569 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.7793, allocations: 2.281 kB / 0.9569 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.7793, allocations: 0 / 0.9569 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7793, allocations: 480 / 0.9569 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.7795, allocations: 233 kB / 0.9571 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7795, allocations: 1.344 kB / 0.9571 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.628e-05/0.7795, allocations: 11.97 kB / 0.9571 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.7795, allocations: 1.281 kB / 0.9571 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.7795, allocations: 1.406 kB / 0.9571 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.7795, allocations: 5.312 kB / 0.9571 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7795, allocations: 0 / 0.9571 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.7797, allocations: 137.4 kB / 0.9572 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.7798, allocations: 93.08 kB / 0.9573 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.7798, allocations: 4.75 kB / 0.9573 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.913e-05/0.7798, allocations: 1.094 kB / 0.9573 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.7798, allocations: 11.83 kB / 0.9573 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.7799, allocations: 11.19 kB / 0.9574 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001068/0.78, allocations: 148.8 kB / 0.9575 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.78, allocations: 0 / 0.9575 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002712/0.7803, allocations: 46.06 kB / 0.9575 GB, free: 2.27 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.0003763/0.7806, allocations: 0.6788 MB / 0.9582 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003547/0.781, allocations: 264.6 kB / 0.9585 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.781, allocations: 1.438 kB / 0.9585 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.015e-05/0.7811, allocations: 30.69 kB / 0.9585 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.7814, allocations: 39.66 kB / 0.9585 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.7838, allocations: 2.196 MB / 0.9607 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.7841, allocations: 0.7277 MB / 0.9614 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.006e-05/0.7842, allocations: 21.94 kB / 0.9614 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.7843, allocations: 50.89 kB / 0.9615 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7843, allocations: 0 / 0.9615 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.7998, allocations: 4.086 MB / 0.9654 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/0.8, allocations: 217.2 kB / 0.9657 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.668, allocations: 0 / 0.9657 GB, free: 12.56 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