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.001201/0.001201, allocations: 119 kB / 17.17 MB, free: 5.906 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.001443/0.001443, allocations: 211 kB / 20.13 MB, free: 2.969 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.531/1.531, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.27/3.27, allocations: 0.5003 GB / 0.8026 GB, free: 6.668 MB / 0.6387 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.002028/0.002028, allocations: 71.88 kB / 1.165 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002738/1.032, allocations: 1.371 MB / 1.341 GB, free: 15.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001474/1.033, allocations: 36.81 kB / 1.341 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-05/1.033, allocations: 1.062 kB / 1.341 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000181/1.033, allocations: 15.31 kB / 1.342 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/1.033, allocations: 18.08 kB / 1.342 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.777e-06/1.033, allocations: 0 / 1.342 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.016e-05/1.033, allocations: 12.7 kB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/1.033, allocations: 5.922 kB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.283e-05/1.033, allocations: 12.91 kB / 1.342 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.62e-05/1.033, allocations: 8.406 kB / 1.342 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/1.033, allocations: 5.062 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.963e-05/1.033, allocations: 16.12 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/1.033, allocations: 2.656 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/1.033, allocations: 6.609 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/1.033, allocations: 24.39 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.033, allocations: 1.062 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/1.033, allocations: 0 / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.55e-06/1.033, allocations: 0 / 1.342 GB, free: 15.18 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.000305/1.034, allocations: 342.6 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/1.034, allocations: 12.97 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.05e-05/1.034, allocations: 5.312 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.079e-05/1.034, allocations: 33.36 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/1.034, allocations: 2.719 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.034, allocations: 177.3 kB / 1.342 GB, free: 14.56 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/1.034, allocations: 5.625 kB / 1.342 GB, free: 14.56 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/1.034, allocations: 2 kB / 1.342 GB, free: 14.56 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.109e-05/1.034, allocations: 46.31 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/1.034, allocations: 1.828 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-06/1.034, allocations: 4 kB / 1.342 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/1.034, allocations: 0.8438 kB / 1.342 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.11e-05/1.034, allocations: 7.141 kB / 1.342 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/1.034, allocations: 243.8 kB / 1.342 GB, free: 14.24 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.031e-05/1.034, allocations: 41.23 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/1.035, allocations: 13.31 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/1.035, allocations: 5.125 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/1.035, allocations: 35.97 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/1.035, allocations: 0 / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.000449/1.035, allocations: 195.1 kB / 1.343 GB, free: 13.99 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/1.035, allocations: 56.53 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/1.035, allocations: 114.6 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/1.035, allocations: 26.8 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/1.035, allocations: 94.53 kB / 1.343 GB, free: 13.69 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/1.035, allocations: 15.42 kB / 1.343 GB, free: 13.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/1.035, allocations: 19.58 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.08e-05/1.035, allocations: 317.1 kB / 1.343 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/1.035, allocations: 13.22 kB / 1.343 GB, free: 13.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/1.035, allocations: 27.98 kB / 1.343 GB, free: 13.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/1.035, allocations: 43.12 kB / 1.343 GB, free: 13.29 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/1.035, allocations: 5.406 kB / 1.343 GB, free: 13.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001034/1.035, allocations: 69.75 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.036, allocations: 5.156 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.036, allocations: 2.031 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.036, allocations: 1.219 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/1.036, allocations: 8.109 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/1.036, allocations: 2.094 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/1.036, allocations: 1.344 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/1.036, allocations: 1.5 kB / 1.344 GB, free: 13.24 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 4.802e-05/1.036, allocations: 121.8 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/1.036, allocations: 11.5 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/1.036, allocations: 75.39 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.036, allocations: 1.188 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.036, allocations: 0 / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.036, allocations: 0.75 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/1.036, allocations: 319.9 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.036, allocations: 0 / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/1.036, allocations: 12.55 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.036, allocations: 320 / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/1.036, allocations: 2.062 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.036, allocations: 4 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.036, allocations: 6.078 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/1.036, allocations: 158.8 kB / 1.344 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/1.036, allocations: 79.72 kB / 1.344 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/1.036, allocations: 6.766 kB / 1.344 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.154e-05/1.036, allocations: 4 kB / 1.344 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/1.036, allocations: 7.344 kB / 1.344 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/1.036, allocations: 1.875 kB / 1.344 GB, free: 12.47 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.131e-05/1.036, allocations: 98.14 kB / 1.344 GB, free: 12.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.036, allocations: 0 / 1.344 GB, free: 12.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002228/1.037, allocations: 8.75 kB / 1.344 GB, free: 12.39 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.0004162/1.037, allocations: 0.7285 MB / 1.345 GB, free: 11.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001158/1.037, allocations: 36.41 kB / 1.345 GB, free: 11.69 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.037, allocations: 0 / 1.345 GB, free: 11.69 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.816e-05/1.037, allocations: 16.22 kB / 1.345 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/1.037, allocations: 7.281 kB / 1.345 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000908/1.038, allocations: 1.313 MB / 1.346 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/1.038, allocations: 0.6844 MB / 1.347 GB, free: 9.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001186/1.039, allocations: 17.16 kB / 1.347 GB, free: 9.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/1.039, allocations: 15.31 kB / 1.347 GB, free: 9.738 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.039, allocations: 0 / 1.347 GB, free: 9.738 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.627669616020285] Failed to read output from testmodel.py, exit status != 0: 1.0582727960427292 1.070929022 0.034965472000000004 Calling exit ...