Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 101.8 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002204/0.002204, allocations: 219.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.833/2.833, allocations: 476.7 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 63.12 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3764, allocations: 169.9 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001996/0.3784, allocations: 0.704 MB / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.3794, allocations: 0.8705 MB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.3795, allocations: 0 / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.3795, allocations: 3.938 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.73e-05/0.3796, allocations: 7.938 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.3797, allocations: 23.97 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.83e-05/0.3798, allocations: 47.89 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3799, allocations: 19.98 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.38, allocations: 23.86 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.682e-05/0.3801, allocations: 27.89 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3801, allocations: 4 kB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.3801, allocations: 4 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.3801, allocations: 12 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.3801, allocations: 19.86 kB / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.3803, allocations: 47.38 kB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3803, allocations: 0 / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3803, allocations: 0 / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3803, allocations: 4 kB / 1.286 GB, free: 9.898 MB / 0.9825 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.0005127/0.3808, allocations: 275.8 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3808, allocations: 12.03 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.588e-05/0.3808, allocations: 192 / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.3809, allocations: 30.75 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.3809, allocations: 8.891 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.381, allocations: 118.5 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.3811, allocations: 4.312 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.3811, allocations: 11.94 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.3813, allocations: 65.66 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3813, allocations: 3.938 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3813, allocations: 0 / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3813, allocations: 3.938 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.3815, allocations: 51.95 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.382, allocations: 271.8 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.3822, allocations: 62.48 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.3823, allocations: 36.91 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3823, allocations: 0 / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.3824, allocations: 30.56 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3824, allocations: 4 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004433/0.3828, allocations: 109.6 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.3828, allocations: 51.41 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.061e-05/0.3829, allocations: 109.8 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.383, allocations: 25.7 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.383, allocations: 88.14 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.383, allocations: 3.953 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.3831, allocations: 25.7 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3832, allocations: 318.8 kB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.3833, allocations: 27.97 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.795e-05/0.3834, allocations: 23.97 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.3836, allocations: 52.81 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3836, allocations: 4 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002593/0.3839, allocations: 89.55 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3839, allocations: 4 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3839, allocations: 0 / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3839, allocations: 0 / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3841, allocations: 15.98 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.3841, allocations: 0 / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.3841, allocations: 11.92 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3841, allocations: 4.328 kB / 1.288 GB, free: 7.789 MB / 0.9825 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 (reaToInt.y,abs1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.874e-05/0.3842, allocations: 117.8 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.3843, allocations: 7.969 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.3843, allocations: 8 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/0.3843, allocations: 7.938 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3843, allocations: 0 / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3843, allocations: 3.938 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.3845, allocations: 144.7 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3845, allocations: 0 / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.629e-05/0.3846, allocations: 19.98 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3846, allocations: 0 / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.3846, allocations: 0 / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3846, allocations: 3.938 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3846, allocations: 0 / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.3849, allocations: 183.7 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.385, allocations: 15.89 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.385, allocations: 4 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.3851, allocations: 7.984 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.3851, allocations: 11.98 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.3852, allocations: 3.938 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.31e-05/0.3852, allocations: 91.27 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3852, allocations: 0 / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000223/0.3855, allocations: 4 kB / 1.288 GB, free: 7.094 MB / 0.9825 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 (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.0007109/0.3862, allocations: 0.7163 MB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002829/0.3865, allocations: 47.95 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3865, allocations: 0 / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.3866, allocations: 43.91 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.387, allocations: 15.86 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.3888, allocations: 1.307 MB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3891, allocations: 0.6807 MB / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.224e-05/0.3892, allocations: 11.98 kB / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.3892, allocations: 19.44 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of SimCode: time 8.21e-07/0.3892, allocations: 0 / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.4122, allocations: 1.97 MB / 1.293 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.53, allocations: 15.88 kB / 1.293 GB, free: 2.293 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.554932557046413] Failed to read output from testmodel.py, exit status != 0: 12.287490417947993 11.709504226 11.326056758 Calling exit ...