Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001285/0.001285, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001566/0.001566, allocations: 217.3 kB / 23.04 MB, free: 5.07 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.753/2.753, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] 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.Reals.Validation.Modulo,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_11_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.00199/0.00199, allocations: 63.19 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3124, allocations: 170 MB / 1.284 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.00196/0.3144, allocations: 0.7081 MB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3155, allocations: 0.9056 MB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.3155, allocations: 7.938 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.3156, allocations: 0 / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.086e-05/0.3156, allocations: 7.875 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.3158, allocations: 15.98 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.007e-05/0.3159, allocations: 43.91 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.316, allocations: 8 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.3161, allocations: 27.84 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.299e-05/0.3161, allocations: 19.92 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.3161, allocations: 0 / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.3161, allocations: 4 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.3162, allocations: 15.98 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.3162, allocations: 19.88 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3163, allocations: 35.39 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3163, allocations: 4 kB / 1.286 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3163, allocations: 0 / 1.286 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3163, allocations: 0 / 1.286 GB, free: 9.93 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005211/0.3168, allocations: 286.2 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3169, allocations: 8.031 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.477e-05/0.3169, allocations: 8.188 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.3169, allocations: 38.75 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.3169, allocations: 0.9375 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.3171, allocations: 118.4 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.3171, allocations: 384 / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.3171, allocations: 4.375 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.3173, allocations: 77.89 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.3173, allocations: 0 / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3173, allocations: 4 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3174, allocations: 3.938 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.3176, allocations: 63.92 kB / 1.287 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.318, allocations: 236 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.3182, allocations: 62.47 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.3184, allocations: 36.92 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3184, allocations: 3.984 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3184, allocations: 30.56 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 2.905e-06/0.3184, allocations: 3.984 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005424/0.319, allocations: 129.5 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.319, allocations: 51.41 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.743e-05/0.3191, allocations: 113.8 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.3191, allocations: 33.64 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.3192, allocations: 88.12 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.3192, allocations: 11.95 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.3192, allocations: 13.72 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3194, allocations: 322.8 kB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3195, allocations: 27.97 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.3197, allocations: 27.97 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.3199, allocations: 68.78 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.32, allocations: 0 / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003388/0.3203, allocations: 101.6 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3203, allocations: 11.98 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3203, allocations: 4 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3203, allocations: 0 / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3204, allocations: 15.92 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.3205, allocations: 4 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.996e-05/0.3205, allocations: 11.92 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3205, allocations: 4 kB / 1.288 GB, free: 7.746 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: 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 8.144e-05/0.3206, allocations: 113.8 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.3207, allocations: 11.95 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.3207, allocations: 7.984 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.3207, allocations: 0 / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3207, allocations: 0 / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3207, allocations: 0 / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.3209, allocations: 140.7 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3209, allocations: 0 / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.321, allocations: 27.91 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.321, allocations: 0 / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.321, allocations: 0 / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.321, allocations: 4 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.321, allocations: 4 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.3214, allocations: 195.4 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-06/0.3214, allocations: 3.953 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.3214, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3215, allocations: 19.97 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.3215, allocations: 8 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.3215, allocations: 0 / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.3216, allocations: 83.58 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3216, allocations: 0 / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002189/0.3218, allocations: 12 kB / 1.289 GB, free: 7.055 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: 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.0007223/0.3225, allocations: 0.7283 MB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.3229, allocations: 83.89 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3229, allocations: 0 / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.3231, allocations: 31.97 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.3234, allocations: 10.17 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.3238, allocations: 151.2 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3242, allocations: 0.6807 MB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.679e-05/0.3242, allocations: 4 kB / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.3242, allocations: 11.44 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3242, allocations: 0 / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.3457, allocations: 1.825 MB / 1.292 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.98, allocations: 5.578 kB / 1.292 GB, free: 3.59 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.579988837998826] Failed to read output from testmodel.py, exit status != 0: 12.660160525992978 12.179068667 11.857828911 Calling exit ...