Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.001303/0.001303, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001422/0.001422, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.487/3.487, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Reals.Validation.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",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.002057/0.002057, allocations: 70.59 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3757, allocations: 179 MB / 1.345 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.00228/0.378, allocations: 0.6906 MB / 1.346 GB, free: 15.2 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.3794, allocations: 0.8942 MB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.3795, allocations: 0 / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.859e-05/0.3795, allocations: 7.938 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.074e-05/0.3796, allocations: 7.938 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.3798, allocations: 19.92 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.3799, allocations: 47.84 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3801, allocations: 7.984 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.566e-05/0.3802, allocations: 23.92 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.3802, allocations: 23.84 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.3802, allocations: 4 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.3803, allocations: 4 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.3803, allocations: 8 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.3803, allocations: 11.94 kB / 1.347 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.3804, allocations: 56 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3804, allocations: 0 / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3804, allocations: 0 / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.3805, allocations: 0 / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006111/0.3811, allocations: 282.2 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.3811, allocations: 12.03 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.648e-05/0.3811, allocations: 192 / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.3812, allocations: 34.75 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.3812, allocations: 8.891 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.3814, allocations: 122.4 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3814, allocations: 384 / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.3814, allocations: 384 / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.3817, allocations: 73.97 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3817, allocations: 0 / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3817, allocations: 0 / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3817, allocations: 0 / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.382, allocations: 67.92 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.3824, allocations: 243.9 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.3827, allocations: 50.53 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.3828, allocations: 36.92 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.3828, allocations: 3.984 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3829, allocations: 34.56 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3829, allocations: 4 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005567/0.3834, allocations: 125.5 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.3835, allocations: 55.41 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.3836, allocations: 105.8 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.3836, allocations: 25.7 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.3836, allocations: 96.12 kB / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.3837, allocations: 11.84 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.3837, allocations: 17.72 kB / 1.348 GB, free: 12.51 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3838, allocations: 314.8 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.384, allocations: 35.95 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.3841, allocations: 27.97 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.3844, allocations: 73.06 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3844, allocations: 0 / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003136/0.3847, allocations: 101.5 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3847, allocations: 6.344 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3847, allocations: 3.938 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3847, allocations: 3.984 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.3849, allocations: 19.98 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3849, allocations: 320 / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.385, allocations: 11.98 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.385, allocations: 0 / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 0.0001003/0.3851, allocations: 117.8 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.3851, allocations: 3.953 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.3851, allocations: 11.98 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3852, allocations: 4 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3852, allocations: 4 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3852, allocations: 0 / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.3853, allocations: 136.6 kB / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3853, allocations: 0 / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3854, allocations: 15.98 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3855, allocations: 0 / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3855, allocations: 0 / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3855, allocations: 7.922 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3855, allocations: 3.984 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.3859, allocations: 199.4 kB / 1.349 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.3859, allocations: 3.953 kB / 1.349 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.3859, allocations: 0 / 1.349 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3861, allocations: 11.98 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.3861, allocations: 7.984 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.3861, allocations: 8 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.483e-05/0.3862, allocations: 91.25 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3862, allocations: 0 / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002274/0.3864, allocations: 15.94 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006999/0.3871, allocations: 0.7279 MB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003208/0.3874, allocations: 71.92 kB / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3874, allocations: 0 / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.3876, allocations: 35.91 kB / 1.35 GB, free: 10.34 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.3879, allocations: 7.984 kB / 1.35 GB, free: 10.34 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.3884, allocations: 153.4 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.131e-05/0.3885, allocations: 63.34 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.3885, allocations: 7.984 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.3885, allocations: 19.38 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of SimCode: time 2.7e-07/0.3885, allocations: 0 / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.4107, allocations: 1.871 MB / 1.353 GB, free: 8.32 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.85, allocations: 8.047 kB / 1.353 GB, free: 8.312 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.183196631958708] Failed to read output from testmodel.py, exit status != 0: 12.0129062209744 12.030856023 11.646924868 Calling exit ...