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.001766/0.001766, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001874/0.001874, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.467/1.467, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.851/2.851, allocations: 476.7 MB / 0.7678 GB, free: 9.371 MB / 0.6075 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.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.00212/0.00212, allocations: 67.89 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002237/1.029, allocations: 0.7105 MB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001415/1.03, allocations: 0.8977 MB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/1.03, allocations: 1.094 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/1.03, allocations: 4.5 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.733e-05/1.03, allocations: 10.72 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000199/1.03, allocations: 20.56 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/1.031, allocations: 43.27 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/1.031, allocations: 8.719 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/1.031, allocations: 18.16 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/1.031, allocations: 26.75 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/1.031, allocations: 3.375 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/1.031, allocations: 4 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/1.031, allocations: 10.77 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/1.031, allocations: 18 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/1.031, allocations: 42.55 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.031, allocations: 0 / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/1.031, allocations: 3.938 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.23e-05/1.031, allocations: 1.094 kB / 1.281 GB, free: 10.5 MB / 0.9981 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.000612/1.032, allocations: 368.1 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.032, allocations: 10.06 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.394e-05/1.032, allocations: 1.219 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/1.032, allocations: 31.81 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/1.032, allocations: 3.781 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/1.032, allocations: 171.9 kB / 1.281 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/1.032, allocations: 1.469 kB / 1.281 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/1.032, allocations: 2.562 kB / 1.281 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/1.032, allocations: 76.84 kB / 1.281 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/1.032, allocations: 0 / 1.281 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/1.032, allocations: 0 / 1.281 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/1.032, allocations: 0.9375 kB / 1.281 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/1.033, allocations: 67.31 kB / 1.281 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/1.033, allocations: 278.1 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/1.033, allocations: 51.2 kB / 1.282 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/1.033, allocations: 36.28 kB / 1.282 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/1.033, allocations: 0.7031 kB / 1.282 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/1.033, allocations: 39.94 kB / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/1.033, allocations: 7.875 kB / 1.282 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005846/1.034, allocations: 132.6 kB / 1.282 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/1.034, allocations: 53.28 kB / 1.282 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/1.034, allocations: 115 kB / 1.282 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/1.034, allocations: 26.45 kB / 1.282 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/1.034, allocations: 90.25 kB / 1.282 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/1.034, allocations: 6.969 kB / 1.282 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/1.034, allocations: 17.09 kB / 1.282 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.035, allocations: 318.5 kB / 1.283 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/1.035, allocations: 29.69 kB / 1.283 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/1.035, allocations: 36.2 kB / 1.283 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/1.035, allocations: 69.88 kB / 1.283 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.035, allocations: 0.5 kB / 1.283 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003931/1.036, allocations: 102.6 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.036, allocations: 6.312 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.036, allocations: 0.5625 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.036, allocations: 0.5312 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/1.036, allocations: 15.66 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/1.036, allocations: 0.5 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.952e-05/1.036, allocations: 11.83 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/1.036, allocations: 5 kB / 1.283 GB, free: 8.672 MB / 0.9981 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 9.827e-05/1.036, allocations: 117.1 kB / 1.283 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/1.036, allocations: 9.922 kB / 1.283 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/1.036, allocations: 9.859 kB / 1.283 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.036, allocations: 0.5 kB / 1.283 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.036, allocations: 1.375 kB / 1.283 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.036, allocations: 0 / 1.283 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/1.036, allocations: 170.8 kB / 1.283 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.036, allocations: 0.5 kB / 1.283 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/1.036, allocations: 19.52 kB / 1.283 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.036, allocations: 1.219 kB / 1.283 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/1.036, allocations: 4.531 kB / 1.283 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/1.036, allocations: 0.5312 kB / 1.283 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.036, allocations: 1.297 kB / 1.283 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/1.037, allocations: 194.2 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/1.037, allocations: 82.34 kB / 1.283 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/1.037, allocations: 6 kB / 1.283 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/1.037, allocations: 15.83 kB / 1.283 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/1.037, allocations: 4.672 kB / 1.283 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/1.037, allocations: 9.094 kB / 1.283 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.626e-05/1.037, allocations: 86.77 kB / 1.284 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.037, allocations: 1.219 kB / 1.284 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002257/1.037, allocations: 13.62 kB / 1.284 GB, free: 7.977 MB / 0.9981 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.0009433/1.038, allocations: 0.7248 MB / 1.284 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004351/1.039, allocations: 74.09 kB / 1.284 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.039, allocations: 0 / 1.284 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/1.039, allocations: 35.27 kB / 1.284 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/1.039, allocations: 11.73 kB / 1.284 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006522/1.04, allocations: 160.8 kB / 1.285 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/1.04, allocations: 0.6808 MB / 1.285 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.243e-05/1.04, allocations: 2.031 kB / 1.285 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/1.041, allocations: 19.81 kB / 1.285 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/1.041, allocations: 0 / 1.285 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/1.061, allocations: 1.72 MB / 1.287 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.659/9.72, allocations: 12.88 kB / 1.287 GB, free: 5.988 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.966746626014356] Failed to read output from testmodel.py, exit status != 0: 9.84676688798936 9.87039049 8.83505121 Calling exit ...