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.001476/0.001476, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001421/0.001421, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 3.176/3.176, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] 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.002044/0.002044, allocations: 62.45 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3233, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002915/0.3262, allocations: 1.376 MB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001739/0.3264, allocations: 40.42 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.3265, allocations: 3.938 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.3266, allocations: 11.92 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.3267, allocations: 12.03 kB / 1.328 GB, free: 16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.346e-06/0.3267, allocations: 0 / 1.328 GB, free: 16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.3268, allocations: 19.91 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.3268, allocations: 4.125 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.858e-05/0.3269, allocations: 4 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.3269, allocations: 15.92 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.327, allocations: 0 / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.823e-05/0.327, allocations: 8 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.754e-05/0.327, allocations: 0 / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.3271, allocations: 27.91 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.846e-05/0.3272, allocations: 19.86 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3272, allocations: 0 / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3272, allocations: 0 / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3272, allocations: 0 / 1.328 GB, free: 15.9 MB / 1.029 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.0003529/0.3275, allocations: 262.2 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3276, allocations: 8.031 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.288e-05/0.3276, allocations: 192 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.3277, allocations: 38.7 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.3277, allocations: 0.9375 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.3278, allocations: 126.4 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3279, allocations: 8.375 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.3279, allocations: 4.312 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.328, allocations: 42 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.328, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.328, allocations: 4 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.328, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.197e-05/0.328, allocations: 4 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.3283, allocations: 208.1 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.672e-05/0.3284, allocations: 46.44 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.3284, allocations: 12.86 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.3285, allocations: 4 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.3285, allocations: 38.5 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3285, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0004758/0.329, allocations: 195.6 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.329, allocations: 51.41 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.3291, allocations: 117.8 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.3291, allocations: 29.7 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.3292, allocations: 84.14 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.3292, allocations: 11.91 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.3293, allocations: 17.72 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3294, allocations: 326.8 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.3294, allocations: 11.94 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.716e-05/0.3295, allocations: 25.7 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.339e-05/0.3295, allocations: 37.98 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3295, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001226/0.3297, allocations: 77.73 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3297, allocations: 5.875 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3297, allocations: 4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3297, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.3298, allocations: 12.03 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3298, allocations: 4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.3298, allocations: 7.938 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.3298, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 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 9.268e-05/0.3299, allocations: 117.8 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.3299, allocations: 4 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.3301, allocations: 73.98 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3301, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3301, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3301, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.3305, allocations: 305.5 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3305, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.3305, allocations: 4 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3305, allocations: 4 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.3305, allocations: 3.938 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3305, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3305, allocations: 3.938 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.3307, allocations: 163.5 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.3307, allocations: 3.953 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3307, allocations: 4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.351e-05/0.3308, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.3308, allocations: 8.125 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.3308, allocations: 11.98 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.37e-05/0.3309, allocations: 91.27 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3309, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002407/0.3311, allocations: 15.94 kB / 1.331 GB, free: 13 MB / 1.029 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.000643/0.3317, allocations: 0.7224 MB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.3319, allocations: 43.91 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3319, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.358e-05/0.3319, allocations: 8 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.3321, allocations: 15.88 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.3334, allocations: 1.297 MB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.202e-05/0.3335, allocations: 77.34 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.3336, allocations: 19.97 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.3337, allocations: 15.5 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.3337, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 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.6269869829993695] Failed to read output from testmodel.py, exit status != 0: 0.358831565012224 0.37858540100000004 0.047749362000000004 Calling exit ...