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.001357/0.001357, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00153/0.00153, allocations: 218.4 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.369/3.369, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 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.002103/0.002103, allocations: 65.94 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3897, allocations: 179 MB / 1.345 GB, free: 420 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002065/0.3918, allocations: 0.7023 MB / 1.346 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.393, allocations: 0.906 MB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.393, allocations: 0 / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.393, allocations: 7.875 kB / 1.347 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.659e-05/0.3931, allocations: 11.94 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.3933, allocations: 15.98 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.858e-05/0.3934, allocations: 43.84 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.3935, allocations: 8 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.032e-05/0.3936, allocations: 15.92 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.3936, allocations: 27.91 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.3937, allocations: 4 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.3937, allocations: 4 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.3937, allocations: 7.984 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.3937, allocations: 15.88 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.3938, allocations: 48.09 kB / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3938, allocations: 3.938 kB / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3938, allocations: 0 / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3938, allocations: 0 / 1.347 GB, free: 14.58 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.0005099/0.3943, allocations: 286.2 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3944, allocations: 8.031 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.586e-05/0.3944, allocations: 4.188 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/0.3944, allocations: 34.75 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.3945, allocations: 4.938 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.3946, allocations: 118.4 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.3946, allocations: 384 / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.3946, allocations: 4.375 kB / 1.348 GB, free: 14.06 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.3948, allocations: 73.95 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3948, allocations: 0 / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3949, allocations: 0 / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3949, allocations: 4 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.3952, allocations: 63.92 kB / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.3955, allocations: 247.9 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.3957, allocations: 54.47 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.3959, allocations: 48.91 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.3959, allocations: 0 / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.396, allocations: 34.56 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.396, allocations: 0 / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005603/0.3965, allocations: 133.5 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.3966, allocations: 59.39 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.072e-05/0.3967, allocations: 101.9 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.3967, allocations: 25.7 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.3967, allocations: 92.12 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.3968, allocations: 7.906 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.3968, allocations: 21.72 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3969, allocations: 318.8 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.3971, allocations: 27.97 kB / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.3972, allocations: 35.95 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.3975, allocations: 64.8 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3975, allocations: 4 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003379/0.3979, allocations: 101.5 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3979, allocations: 4 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3979, allocations: 0 / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3979, allocations: 0 / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.398, allocations: 19.98 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.398, allocations: 320 / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.042e-05/0.3981, allocations: 15.98 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.3981, allocations: 0 / 1.349 GB, free: 12.4 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 8.193e-05/0.3982, allocations: 113.7 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.3982, allocations: 11.94 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.3983, allocations: 8 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3983, allocations: 4 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3983, allocations: 0 / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3983, allocations: 0 / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.3985, allocations: 148.6 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3985, allocations: 0 / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.885e-05/0.3986, allocations: 15.97 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3986, allocations: 0 / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3986, allocations: 4 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3986, allocations: 3.938 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3986, allocations: 3.938 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.399, allocations: 195.4 kB / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.399, allocations: 3.953 kB / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.399, allocations: 7.984 kB / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3991, allocations: 7.984 kB / 1.35 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3991, allocations: 8 kB / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.3991, allocations: 0 / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.3992, allocations: 95.25 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3992, allocations: 0 / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002187/0.3994, allocations: 4 kB / 1.35 GB, free: 11.7 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.0006983/0.4001, allocations: 0.7284 MB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.4005, allocations: 67.92 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4005, allocations: 0 / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.4006, allocations: 40.05 kB / 1.351 GB, free: 10.84 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.4009, allocations: 12 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.4014, allocations: 163.2 kB / 1.351 GB, free: 10.63 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.4017, allocations: 0.6844 MB / 1.351 GB, free: 9.922 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.4018, allocations: 8 kB / 1.351 GB, free: 9.914 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.4018, allocations: 11.44 kB / 1.351 GB, free: 9.902 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.4018, allocations: 0 / 1.351 GB, free: 9.902 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.4247, allocations: 1.826 MB / 1.353 GB, free: 8.223 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.72, allocations: 5.609 kB / 1.353 GB, free: 8.219 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: 18.908117037033662] Failed to read output from testmodel.py, exit status != 0: 11.877070474030916 11.894645363 11.49735608 Calling exit ...