Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001256/0.001256, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001333/0.001333, allocations: 205.5 kB / 20.13 MB, free: 3.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.455/1.455, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.875/2.875, allocations: 476.7 MB / 0.7678 GB, free: 9.391 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.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_11_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.002344/0.002344, allocations: 71.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.926/0.9283, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.003021/0.9314, allocations: 1.376 MB / 1.28 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001715/0.9315, allocations: 33.56 kB / 1.28 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.9316, allocations: 3.938 kB / 1.28 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.9318, allocations: 16.62 kB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.9319, allocations: 9.109 kB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.438e-06/0.9319, allocations: 0 / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.658e-05/0.9319, allocations: 17.59 kB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.932, allocations: 5.766 kB / 1.28 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.932, allocations: 8.625 kB / 1.28 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.9321, allocations: 13.91 kB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.9321, allocations: 1.125 kB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.732e-05/0.9321, allocations: 11.5 kB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.9322, allocations: 10.09 kB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.9322, allocations: 10.64 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.916e-05/0.9323, allocations: 25.41 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9323, allocations: 0 / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9323, allocations: 0 / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.9323, allocations: 1.125 kB / 1.28 GB, free: 10.68 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004027/0.9327, allocations: 332.9 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.9328, allocations: 9.344 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.509e-05/0.9328, allocations: 6.031 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.9328, allocations: 32.33 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.9329, allocations: 7.203 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.9331, allocations: 177.3 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.9331, allocations: 0.9375 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.9331, allocations: 5.438 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.924e-05/0.9332, allocations: 44.31 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.9332, allocations: 0.8438 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.9332, allocations: 0 / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.9332, allocations: 2.469 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.778e-05/0.9333, allocations: 18.52 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.9336, allocations: 238.1 kB / 1.281 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.9337, allocations: 42.2 kB / 1.281 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.9337, allocations: 17.39 kB / 1.281 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.9337, allocations: 2.297 kB / 1.281 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.9338, allocations: 35.66 kB / 1.281 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.9338, allocations: 0 / 1.281 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0004671/0.9342, allocations: 197.5 kB / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.9343, allocations: 56.53 kB / 1.282 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.9344, allocations: 115.1 kB / 1.282 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.9344, allocations: 26.27 kB / 1.282 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.9345, allocations: 86.56 kB / 1.282 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.9345, allocations: 19.42 kB / 1.282 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.9345, allocations: 19.55 kB / 1.282 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9347, allocations: 322.2 kB / 1.282 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.679e-05/0.9347, allocations: 11.61 kB / 1.282 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.092e-05/0.9347, allocations: 24.97 kB / 1.282 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.468e-05/0.9348, allocations: 39.19 kB / 1.282 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9348, allocations: 0.7969 kB / 1.282 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001219/0.9349, allocations: 74.38 kB / 1.282 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.9349, allocations: 5.797 kB / 1.282 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.935, allocations: 0.875 kB / 1.282 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.935, allocations: 1.062 kB / 1.282 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.935, allocations: 9.625 kB / 1.282 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.935, allocations: 1.062 kB / 1.282 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.9351, allocations: 5.109 kB / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.9351, allocations: 1.797 kB / 1.282 GB, free: 8.738 MB / 0.9981 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 8.767e-05/0.9352, allocations: 119.9 kB / 1.282 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.9352, allocations: 10.7 kB / 1.282 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.9353, allocations: 74.27 kB / 1.283 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.9353, allocations: 1.125 kB / 1.283 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.9353, allocations: 1.188 kB / 1.283 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.9353, allocations: 0.7969 kB / 1.283 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/0.9357, allocations: 323 kB / 1.283 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.9357, allocations: 5.312 kB / 1.283 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.415e-05/0.9358, allocations: 7.844 kB / 1.283 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.9358, allocations: 4 kB / 1.283 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.9358, allocations: 9.781 kB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.9358, allocations: 1.094 kB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9358, allocations: 4.641 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.9359, allocations: 155.8 kB / 1.283 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.936, allocations: 83.47 kB / 1.283 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.936, allocations: 5.094 kB / 1.283 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.338e-05/0.9361, allocations: 1.234 kB / 1.283 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.9361, allocations: 10.28 kB / 1.283 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.9361, allocations: 2.172 kB / 1.283 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.979e-05/0.9362, allocations: 90.84 kB / 1.283 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9362, allocations: 0 / 1.283 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000232/0.9364, allocations: 8.531 kB / 1.283 GB, free: 7.887 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 (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.0006882/0.9371, allocations: 0.7315 MB / 1.284 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.9372, allocations: 31.19 kB / 1.284 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9372, allocations: 0.625 kB / 1.284 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.9373, allocations: 16.7 kB / 1.284 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.9375, allocations: 10.27 kB / 1.284 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.9388, allocations: 1.307 MB / 1.285 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.9392, allocations: 0.6873 MB / 1.286 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.9393, allocations: 21.03 kB / 1.286 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.9393, allocations: 12.17 kB / 1.286 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.9393, allocations: 0 / 1.286 GB, free: 5.238 MB / 0.9981 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 299] [Calling sys.exit(0), Time elapsed: 6.96083226299379] Failed to read output from testmodel.py, exit status != 0: 0.9594075519707985 0.972269391 0.037091798 Calling exit ...