Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.Integers.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",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.001039/0.001039, allocations: 99.86 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.001064/0.001065, allocations: 177.3 kB / 15.94 MB, free: 228 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.524/1.524, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.509/2.509, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004139, allocations: 11.94 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8097/0.8101, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001006/0.8112, allocations: 414.6 kB / 0.954 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.8124, allocations: 0.8236 MB / 0.9548 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.8124, allocations: 0 / 0.9548 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.434e-05/0.8125, allocations: 7.922 kB / 0.9548 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.467e-05/0.8126, allocations: 9.391 kB / 0.9548 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.8128, allocations: 12.23 kB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.688e-05/0.8129, allocations: 27.72 kB / 0.9549 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.813, allocations: 17.05 kB / 0.9549 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.095e-05/0.8131, allocations: 17.83 kB / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.85e-05/0.8132, allocations: 22.56 kB / 0.9549 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.8132, allocations: 2.469 kB / 0.9549 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.8132, allocations: 2.281 kB / 0.9549 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.8133, allocations: 8.703 kB / 0.9549 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.8133, allocations: 31.64 kB / 0.955 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.41e-05/0.8134, allocations: 31.27 kB / 0.955 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.8134, allocations: 0 / 0.955 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.424e-06/0.8134, allocations: 0 / 0.955 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.8134, allocations: 4 kB / 0.955 GB, free: 6.992 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005424/0.8139, allocations: 349.2 kB / 0.9553 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.814, allocations: 9.125 kB / 0.9553 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.8141, allocations: 35.31 kB / 0.9554 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.8141, allocations: 5.844 kB / 0.9554 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.8142, allocations: 169.5 kB / 0.9555 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.8143, allocations: 3.031 kB / 0.9555 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.8143, allocations: 9.312 kB / 0.9555 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.8145, allocations: 76.53 kB / 0.9556 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.8145, allocations: 1.219 kB / 0.9556 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.8146, allocations: 3.953 kB / 0.9556 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.8146, allocations: 1.25 kB / 0.9556 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002371/0.8148, allocations: 64.27 kB / 0.9557 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.8153, allocations: 278.2 kB / 0.9559 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.8155, allocations: 77.56 kB / 0.956 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.8155, allocations: 5.047 kB / 0.956 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.8156, allocations: 35.59 kB / 0.9561 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.8156, allocations: 0 / 0.9561 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004552/0.816, allocations: 132 kB / 0.9562 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.8161, allocations: 52.81 kB / 0.9562 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.8162, allocations: 104.8 kB / 0.9563 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.8162, allocations: 30.8 kB / 0.9564 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.8163, allocations: 93.19 kB / 0.9565 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.8163, allocations: 18.16 kB / 0.9565 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.8163, allocations: 7.938 kB / 0.9565 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.379e-05/0.8164, allocations: 312.2 kB / 0.9568 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.8165, allocations: 29.28 kB / 0.9568 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.978e-05/0.8166, allocations: 25.98 kB / 0.9568 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.8167, allocations: 36.84 kB / 0.9569 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8167, allocations: 1.031 kB / 0.9569 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002598/0.817, allocations: 90.56 kB / 0.9569 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.817, allocations: 17.94 kB / 0.957 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.817, allocations: 0 / 0.957 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.817, allocations: 0 / 0.957 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.8172, allocations: 16.08 kB / 0.957 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.8172, allocations: 0 / 0.957 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.383e-05/0.8173, allocations: 10.59 kB / 0.957 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.8173, allocations: 4.984 kB / 0.957 GB, free: 5.047 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 7.575e-05/0.8174, allocations: 112.2 kB / 0.9571 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.8174, allocations: 6.062 kB / 0.9571 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.8175, allocations: 12.86 kB / 0.9571 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.8175, allocations: 1.281 kB / 0.9571 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.8175, allocations: 0 / 0.9571 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.8175, allocations: 0 / 0.9571 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.8176, allocations: 171.9 kB / 0.9573 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8177, allocations: 336 / 0.9573 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.8178, allocations: 19.23 kB / 0.9573 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.8178, allocations: 5.094 kB / 0.9573 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.8178, allocations: 1.062 kB / 0.9573 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.8178, allocations: 3.953 kB / 0.9573 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8178, allocations: 0 / 0.9573 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.8181, allocations: 198.9 kB / 0.9575 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.8182, allocations: 82.36 kB / 0.9576 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.8182, allocations: 3.984 kB / 0.9576 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.8183, allocations: 6.031 kB / 0.9576 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.8184, allocations: 16.22 kB / 0.9576 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.8184, allocations: 1.156 kB / 0.9576 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.585e-05/0.8184, allocations: 93.33 kB / 0.9577 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8184, allocations: 4 kB / 0.9577 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000233/0.8187, allocations: 5.812 kB / 0.9577 GB, free: 4.316 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005112/0.8192, allocations: 0.7301 MB / 0.9584 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.8195, allocations: 68.31 kB / 0.9585 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.8195, allocations: 0 / 0.9585 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.8196, allocations: 43.56 kB / 0.9585 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.8199, allocations: 7.359 kB / 0.9585 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.8209, allocations: 477.3 kB / 0.959 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.8211, allocations: 0.6837 MB / 0.9597 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.145e-05/0.8212, allocations: 7.969 kB / 0.9597 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.8212, allocations: 17.7 kB / 0.9597 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8212, allocations: 0 / 0.9597 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.835, allocations: 1.481 MB / 0.9611 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.8352, allocations: 182.7 kB / 0.9613 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.498, allocations: 0 / 0.9613 GB, free: 1.504 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat does not exist to compare? outputFormat=mat