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.001565/0.001565, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001903/0.001903, allocations: 221.9 kB / 23.03 MB, free: 4.945 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.177/3.177, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 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.001987/0.001987, allocations: 66.09 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3456, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002706/0.3483, allocations: 1.381 MB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000144/0.3484, allocations: 31.84 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.3485, allocations: 0 / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.3486, allocations: 19.91 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.896e-05/0.3487, allocations: 11.94 kB / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.3487, allocations: 0 / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.859e-05/0.3488, allocations: 19.92 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.3488, allocations: 288 / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.39e-05/0.3489, allocations: 7.938 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.3489, allocations: 19.95 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3489, allocations: 0 / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.705e-05/0.349, allocations: 12 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.98e-05/0.349, allocations: 3.938 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.349, allocations: 11.94 kB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.24e-05/0.3491, allocations: 23.91 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3491, allocations: 3.938 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3491, allocations: 0 / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.3491, allocations: 3.938 kB / 1.347 GB, free: 14.41 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.0003383/0.3495, allocations: 262.2 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3495, allocations: 12.03 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.559e-05/0.3496, allocations: 4.172 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.3496, allocations: 30.75 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.3496, allocations: 4.938 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.3498, allocations: 122.4 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.3498, allocations: 384 / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.3498, allocations: 8.375 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.3499, allocations: 38 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.3499, allocations: 0 / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.3499, allocations: 4 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.3499, allocations: 0 / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.745e-05/0.35, allocations: 11.94 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.3502, allocations: 208.1 kB / 1.347 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.218e-05/0.3503, allocations: 34.52 kB / 1.347 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.3504, allocations: 20.94 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3504, allocations: 4 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3504, allocations: 38.5 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3504, allocations: 0 / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.0004607/0.3509, allocations: 195.5 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.3509, allocations: 59.34 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.351, allocations: 117.8 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.351, allocations: 25.7 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.3511, allocations: 88.12 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.3511, allocations: 15.91 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.3511, allocations: 13.72 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3513, allocations: 326.8 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.3513, allocations: 8 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.3513, allocations: 25.7 kB / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.828e-05/0.3514, allocations: 45.64 kB / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3514, allocations: 0 / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001085/0.3515, allocations: 61.64 kB / 1.348 GB, free: 12.43 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3515, allocations: 11.98 kB / 1.348 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3515, allocations: 0 / 1.348 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3516, allocations: 0 / 1.348 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.3516, allocations: 11.94 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3516, allocations: 4.344 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.3517, allocations: 7.938 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.3517, allocations: 336 / 1.349 GB, free: 12.39 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 8.452e-05/0.3517, allocations: 121.8 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.3518, allocations: 7.953 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.3519, allocations: 73.72 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3519, allocations: 3.984 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3519, allocations: 0 / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3519, allocations: 0 / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.3523, allocations: 285.8 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3523, allocations: 8.062 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.3523, allocations: 15.98 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3523, allocations: 3.938 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3523, allocations: 4 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3523, allocations: 0 / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3523, allocations: 3.938 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.3525, allocations: 155.5 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.3525, allocations: 3.984 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.3525, allocations: 4 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.82e-05/0.3525, allocations: 4 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.3526, allocations: 11.88 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.3526, allocations: 0 / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.235e-05/0.3526, allocations: 95.27 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3526, allocations: 0 / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002406/0.3529, allocations: 15.94 kB / 1.349 GB, free: 11.51 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.0005997/0.3535, allocations: 0.7226 MB / 1.35 GB, free: 10.76 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.3536, allocations: 35.98 kB / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3536, allocations: 3.938 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.781e-05/0.3536, allocations: 19.92 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.3538, allocations: 13.44 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.3551, allocations: 1.286 MB / 1.351 GB, free: 9.32 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.679e-05/0.3551, allocations: 67.33 kB / 1.351 GB, free: 9.234 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.663e-05/0.3552, allocations: 15.98 kB / 1.351 GB, free: 9.219 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.3553, allocations: 19.42 kB / 1.351 GB, free: 9.199 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3553, allocations: 4.062 kB / 1.351 GB, free: 9.195 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.789801053004339] Failed to read output from testmodel.py, exit status != 0: 0.3785468339920044 0.39371291700000005 0.041586466 Calling exit ...