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.001988/0.001988, allocations: 115.6 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.002854/0.002854, allocations: 215 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.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.206/3.206, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 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.002139/0.002139, allocations: 68.19 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9289/0.9311, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002221/0.9333, allocations: 0.7056 MB / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009802/0.9343, allocations: 0.9068 MB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.9343, allocations: 0 / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.9344, allocations: 5.703 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.256e-05/0.9344, allocations: 5.656 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.9346, allocations: 24.73 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.9347, allocations: 39.02 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.9348, allocations: 8.922 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.623e-05/0.9349, allocations: 18.52 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.52e-05/0.9349, allocations: 25.95 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.9349, allocations: 8.531 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.9349, allocations: 3.75 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.935, allocations: 10.47 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.935, allocations: 17.45 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.354e-05/0.9351, allocations: 38.58 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9351, allocations: 1.25 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9351, allocations: 0 / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.9351, allocations: 0 / 1.342 GB, free: 15.05 MB / 1.061 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.0004514/0.9355, allocations: 374.5 kB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.9356, allocations: 10.25 kB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.081e-05/0.9356, allocations: 192 / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.977e-05/0.9356, allocations: 33.23 kB / 1.342 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.221e-05/0.9356, allocations: 2.25 kB / 1.342 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.463e-05/0.9357, allocations: 177.3 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.9357, allocations: 384 / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.9357, allocations: 6.5 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.936, allocations: 76.59 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.936, allocations: 1.125 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.936, allocations: 4 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.936, allocations: 5.062 kB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.9363, allocations: 61.92 kB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.9366, allocations: 270 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.9368, allocations: 54.75 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.937, allocations: 40.56 kB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.937, allocations: 1.781 kB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.937, allocations: 36.3 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.937, allocations: 3.984 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005754/0.9376, allocations: 124 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.9376, allocations: 53.22 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.038e-05/0.9377, allocations: 115.1 kB / 1.343 GB, free: 13.76 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.9377, allocations: 26.5 kB / 1.343 GB, free: 13.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.9377, allocations: 87.22 kB / 1.343 GB, free: 13.64 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.9377, allocations: 13.83 kB / 1.343 GB, free: 13.63 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.9378, allocations: 12.58 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.9378, allocations: 326.8 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.938, allocations: 31.06 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.9381, allocations: 35.53 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.9384, allocations: 65.58 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9384, allocations: 1.875 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003394/0.9387, allocations: 97.77 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.9387, allocations: 7.5 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.9387, allocations: 0 / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.9388, allocations: 1.844 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.9389, allocations: 14.23 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.9389, allocations: 6.062 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.939, allocations: 10.59 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.939, allocations: 1.438 kB / 1.344 GB, free: 13.22 MB / 1.061 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 5.035e-05/0.939, allocations: 121.1 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.9391, allocations: 5.047 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.9391, allocations: 6.141 kB / 1.344 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.9391, allocations: 1.922 kB / 1.344 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.9391, allocations: 4 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.9391, allocations: 1.531 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.9393, allocations: 170.7 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9393, allocations: 0 / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.9394, allocations: 27.16 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.9394, allocations: 0.7969 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.9394, allocations: 1.188 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9394, allocations: 0 / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.9394, allocations: 1.156 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.9397, allocations: 201.6 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.9397, allocations: 82.91 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.9397, allocations: 1.984 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.9399, allocations: 10.7 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.9399, allocations: 9.266 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.9399, allocations: 1.531 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.785e-05/0.9399, allocations: 87.92 kB / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9399, allocations: 0 / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002268/0.9402, allocations: 7.312 kB / 1.345 GB, free: 12.53 MB / 1.061 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.0005265/0.9407, allocations: 0.7262 MB / 1.345 GB, free: 11.86 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.9411, allocations: 78.2 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9411, allocations: 1.375 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.9412, allocations: 34.98 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.9416, allocations: 3.406 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.9421, allocations: 166.2 kB / 1.346 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.9422, allocations: 0.6798 MB / 1.346 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.942e-05/0.9422, allocations: 2.078 kB / 1.346 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.9422, allocations: 15.5 kB / 1.346 GB, free: 10.96 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.9422, allocations: 0 / 1.346 GB, free: 10.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.9604, allocations: 1.738 MB / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/9.518, allocations: 19.39 kB / 1.348 GB, free: 10.54 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.5286723600002] Failed to read output from testmodel.py, exit status != 0: 9.647314472997095 9.672184867 8.733418445 Calling exit ...