Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001656/0.001656, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.0021/0.0021, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.593/1.593, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.959/2.959, allocations: 0.49 GB / 0.7923 GB, free: 1.344 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_12_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.002028/0.002028, allocations: 74.39 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9243/0.9264, allocations: 176.1 MB / 1.321 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002536/0.9289, allocations: 1.371 MB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001856/0.9291, allocations: 38.66 kB / 1.323 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.9291, allocations: 2.75 kB / 1.323 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.9293, allocations: 11.94 kB / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.9294, allocations: 12.25 kB / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.821e-06/0.9294, allocations: 3.938 kB / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.9295, allocations: 12.55 kB / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.9296, allocations: 2.781 kB / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.9296, allocations: 14.3 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.9297, allocations: 13.58 kB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.9297, allocations: 2.719 kB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.778e-05/0.9297, allocations: 9.656 kB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.9298, allocations: 5.844 kB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.9298, allocations: 3.938 kB / 1.323 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.9299, allocations: 29.58 kB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9299, allocations: 0 / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9299, allocations: 0 / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.9299, allocations: 0 / 1.323 GB, free: 23.68 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003425/0.9303, allocations: 343.3 kB / 1.323 GB, free: 23.31 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.9303, allocations: 12.61 kB / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.725e-05/0.9303, allocations: 3.094 kB / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.9304, allocations: 38.64 kB / 1.323 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.9304, allocations: 4 kB / 1.323 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.9306, allocations: 174.2 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.9306, allocations: 7.438 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.9306, allocations: 3.703 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.931e-05/0.9307, allocations: 47.39 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.9307, allocations: 0 / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.9307, allocations: 0 / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.9307, allocations: 3.312 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.303e-05/0.9308, allocations: 2.969 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.931, allocations: 247.6 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.963e-05/0.9311, allocations: 48.67 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/0.9311, allocations: 18.77 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.9311, allocations: 2.938 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.9311, allocations: 30.56 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.9311, allocations: 0 / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0004033/0.9315, allocations: 199.3 kB / 1.324 GB, free: 22.47 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/0.9315, allocations: 51.41 kB / 1.324 GB, free: 22.41 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.916e-05/0.9316, allocations: 116 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.9316, allocations: 29.7 kB / 1.324 GB, free: 22.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/0.9316, allocations: 87.56 kB / 1.324 GB, free: 22.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.9317, allocations: 15 kB / 1.324 GB, free: 22.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.9317, allocations: 19.62 kB / 1.324 GB, free: 22.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.9317, allocations: 322.1 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.373e-05/0.9318, allocations: 7.781 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.945e-05/0.9318, allocations: 28.09 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.223e-05/0.9318, allocations: 41.41 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.9318, allocations: 6.219 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.517e-05/0.9319, allocations: 66.72 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.9319, allocations: 5.5 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.9319, allocations: 0 / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.932, allocations: 3.281 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.628e-05/0.932, allocations: 12.12 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.932, allocations: 2.719 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.932, allocations: 0 / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.932, allocations: 10.81 kB / 1.325 GB, free: 21.72 MB / 1.061 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 5.311e-05/0.9321, allocations: 121.8 kB / 1.325 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.9321, allocations: 2.469 kB / 1.325 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.9323, allocations: 73.52 kB / 1.325 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.9323, allocations: 0 / 1.325 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.9323, allocations: 0 / 1.325 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.9323, allocations: 2.656 kB / 1.325 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.9325, allocations: 332.9 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9325, allocations: 0 / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.9326, allocations: 8.438 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.9326, allocations: 0 / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.9326, allocations: 0 / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9326, allocations: 0 / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9326, allocations: 6.844 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.9327, allocations: 159.4 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.9327, allocations: 79.92 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.9327, allocations: 4 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.209e-05/0.9328, allocations: 0 / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.9328, allocations: 18.11 kB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.9328, allocations: 0 / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.585e-05/0.9328, allocations: 92 kB / 1.326 GB, free: 20.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.9328, allocations: 0 / 1.326 GB, free: 20.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002225/0.933, allocations: 8.625 kB / 1.326 GB, free: 20.88 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 (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.0004137/0.9335, allocations: 0.7365 MB / 1.326 GB, free: 20.19 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.9336, allocations: 32.14 kB / 1.326 GB, free: 20.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9336, allocations: 0 / 1.326 GB, free: 20.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.258e-05/0.9336, allocations: 19.33 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.9338, allocations: 9.875 kB / 1.327 GB, free: 20.17 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009071/0.9347, allocations: 1.303 MB / 1.328 GB, free: 18.95 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.9348, allocations: 0.6867 MB / 1.328 GB, free: 18.25 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.213e-05/0.9349, allocations: 22.92 kB / 1.328 GB, free: 18.24 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.935, allocations: 17.73 kB / 1.329 GB, free: 18.23 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/0.935, allocations: 0 / 1.329 GB, free: 18.23 MB / 1.061 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: 7.250959640019573] Failed to read output from testmodel.py, exit status != 0: 0.954277181008365 0.9659312369999999 0.033451282 Calling exit ...