Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.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.001348/0.001348, allocations: 110.1 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.001496/0.001496, allocations: 214.4 kB / 23.04 MB, free: 5.078 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.438/1.438, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.28/3.28, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 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.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",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.001964/0.001964, allocations: 68.16 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4123, allocations: 179 MB / 1.345 GB, free: 456 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.005376/0.4177, allocations: 1.377 MB / 1.347 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002888/0.418, allocations: 47.81 kB / 1.347 GB, free: 15.01 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.676e-05/0.4181, allocations: 4 kB / 1.347 GB, free: 15 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.4183, allocations: 7.922 kB / 1.347 GB, free: 15 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.4186, allocations: 15.92 kB / 1.347 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.412e-06/0.4186, allocations: 0 / 1.347 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.4187, allocations: 19.92 kB / 1.347 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.352e-05/0.4188, allocations: 288 / 1.347 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.051e-05/0.4188, allocations: 11.92 kB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.398e-05/0.4189, allocations: 4 kB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.4189, allocations: 0 / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.629e-05/0.419, allocations: 19.94 kB / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.895e-05/0.4191, allocations: 3.984 kB / 1.347 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.4191, allocations: 11.94 kB / 1.347 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.4193, allocations: 27.84 kB / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.4193, allocations: 0 / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.886e-06/0.4193, allocations: 0 / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.4193, allocations: 0 / 1.347 GB, free: 14.88 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006071/0.42, allocations: 263.7 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 7.052e-05/0.42, allocations: 12.03 kB / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.261e-05/0.4201, allocations: 4.172 kB / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.777e-05/0.4202, allocations: 34.69 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.4202, allocations: 8.938 kB / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.4205, allocations: 114.5 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.4205, allocations: 4.375 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.4206, allocations: 8.359 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.4207, allocations: 38 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4208, allocations: 0 / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.4208, allocations: 0 / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.4208, allocations: 7.938 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.712e-05/0.4209, allocations: 15.97 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.4213, allocations: 212 kB / 1.348 GB, free: 14.06 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.4215, allocations: 38.5 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.318e-05/0.4216, allocations: 16.86 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.4216, allocations: 4.078 kB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.4217, allocations: 30.56 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.4217, allocations: 4 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.0008415/0.4225, allocations: 195.4 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.562e-05/0.4226, allocations: 55.34 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.4228, allocations: 117.8 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.4228, allocations: 25.7 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.4229, allocations: 88.14 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.4229, allocations: 7.906 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/0.423, allocations: 21.7 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002706/0.4233, allocations: 326.8 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.111e-05/0.4233, allocations: 7.984 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.544e-05/0.4234, allocations: 21.72 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.62e-05/0.4235, allocations: 41.89 kB / 1.348 GB, free: 12.97 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4235, allocations: 4 kB / 1.348 GB, free: 12.97 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000176/0.4236, allocations: 69.56 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.4237, allocations: 12.03 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.4237, allocations: 0 / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4237, allocations: 0 / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.4238, allocations: 11.98 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.4238, allocations: 0 / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.4238, allocations: 4 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.4239, allocations: 0 / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.000132/0.424, allocations: 122.6 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.424, allocations: 0 / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.4243, allocations: 81.69 kB / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4243, allocations: 0 / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4243, allocations: 0 / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.4243, allocations: 0 / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.4248, allocations: 297.5 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4248, allocations: 0 / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.4249, allocations: 11.98 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4249, allocations: 0 / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4249, allocations: 4 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.4249, allocations: 4 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.4249, allocations: 7.938 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.4251, allocations: 159.4 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.4251, allocations: 7.984 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.4251, allocations: 192 / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.4252, allocations: 8 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.4253, allocations: 8.266 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.4253, allocations: 0 / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001126/0.4254, allocations: 99.56 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4254, allocations: 0 / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004004/0.4258, allocations: 11.94 kB / 1.349 GB, free: 11.98 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 (5): * Single equations (assignments): 5 * 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.001007/0.4268, allocations: 0.7403 MB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.4269, allocations: 23.98 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4269, allocations: 0 / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.762e-05/0.427, allocations: 23.92 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.4274, allocations: 11.88 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.4294, allocations: 1.286 MB / 1.351 GB, free: 9.789 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.4299, allocations: 0.6922 MB / 1.352 GB, free: 9.07 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.4301, allocations: 15.98 kB / 1.352 GB, free: 9.055 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.4302, allocations: 19.42 kB / 1.352 GB, free: 9.035 MB / 1.045 GB Notification: Performance of SimCode: time 8.71e-07/0.4302, allocations: 0 / 1.352 GB, free: 9.035 MB / 1.045 GB Error: Template error: A template call failed (/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics). " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 6.926993534958456] Failed to read output from testmodel.py, exit status != 0: 0.46175643103197217 0.48043474300000005 0.057626642000000006 Calling exit ...