Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.211/2.211, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 179.2 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.497/2.497, allocations: 205.4 MB / 0.5767 GB, free: 20.71 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 94.66 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006497/0.0006501, allocations: 14.31 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2128, allocations: 106.3 MB / 0.8991 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001569/0.2144, allocations: 1.037 MB / 0.9001 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004219/0.2149, allocations: 117.7 kB / 0.9002 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.215, allocations: 0 / 0.9002 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.215, allocations: 0 / 0.9002 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.2151, allocations: 7.922 kB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.2152, allocations: 8 kB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.229e-05/0.2153, allocations: 15.92 kB / 0.9002 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.2153, allocations: 8 kB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.384e-05/0.2155, allocations: 15.92 kB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.2155, allocations: 0 / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.2156, allocations: 4 kB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.2156, allocations: 0 / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.2156, allocations: 3.984 kB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.2156, allocations: 33.64 kB / 0.9003 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.823e-05/0.2157, allocations: 11.97 kB / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2157, allocations: 0 / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2157, allocations: 0 / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2157, allocations: 4 kB / 0.9003 GB, free: 64.11 MB / 0.6042 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.0003753/0.2161, allocations: 320.9 kB / 0.9006 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2162, allocations: 12.03 kB / 0.9006 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.2162, allocations: 0.9375 kB / 0.9006 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.795e-05/0.2163, allocations: 160.4 kB / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.2164, allocations: 12.36 kB / 0.9008 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.2164, allocations: 384 / 0.9008 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.2165, allocations: 42.25 kB / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2166, allocations: 4.125 kB / 0.9008 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2166, allocations: 3.938 kB / 0.9008 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2166, allocations: 0 / 0.9008 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.2167, allocations: 19.92 kB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.2169, allocations: 153.7 kB / 0.901 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.575e-05/0.217, allocations: 34.5 kB / 0.901 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.441e-05/0.2171, allocations: 12.92 kB / 0.901 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.2171, allocations: 0 / 0.901 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2171, allocations: 30.56 kB / 0.9011 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.2171, allocations: 0 / 0.9011 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0003101/0.2175, allocations: 77.45 kB / 0.9012 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.2175, allocations: 51.41 kB / 0.9012 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.2176, allocations: 101.8 kB / 0.9013 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.2176, allocations: 25.7 kB / 0.9013 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.771e-05/0.2176, allocations: 88.14 kB / 0.9014 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.2177, allocations: 4.219 kB / 0.9014 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.2177, allocations: 0 / 0.9014 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.068e-05/0.2178, allocations: 315 kB / 0.9017 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.2178, allocations: 15.98 kB / 0.9017 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.014e-05/0.2179, allocations: 8 kB / 0.9017 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.837e-05/0.218, allocations: 8 kB / 0.9017 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.218, allocations: 0 / 0.9017 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001789/0.2182, allocations: 61.67 kB / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2182, allocations: 4 kB / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2182, allocations: 4.188 kB / 0.9018 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.2183, allocations: 4 kB / 0.9018 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.2184, allocations: 8 kB / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2184, allocations: 0 / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.2185, allocations: 0 / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.2185, allocations: 3.984 kB / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.315e-05/0.2186, allocations: 113.9 kB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.2186, allocations: 3.906 kB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.2186, allocations: 7.062 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2187, allocations: 4 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2187, allocations: 0 / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2187, allocations: 3.938 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.258e-05/0.2188, allocations: 153.7 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2188, allocations: 0 / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.2189, allocations: 11.98 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2189, allocations: 0 / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2189, allocations: 3.938 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2189, allocations: 0 / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2189, allocations: 0 / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.2191, allocations: 73.06 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.2191, allocations: 81.14 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.2192, allocations: 11.92 kB / 0.9023 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.514e-05/0.2192, allocations: 0 / 0.9023 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.2193, allocations: 7.938 kB / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.2193, allocations: 0 / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.2193, allocations: 87.27 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.2e-07/0.2193, allocations: 0 / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002188/0.2196, allocations: 0 / 0.9024 GB, free: 61.69 MB / 0.6042 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001238/0.2197, allocations: 103.2 kB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.2199, allocations: 19.98 kB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2199, allocations: 0 / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.578e-05/0.22, allocations: 8 kB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.2202, allocations: 3.938 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.2205, allocations: 127.2 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.2206, allocations: 0.677 MB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.2207, allocations: 0 / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.2207, allocations: 11.38 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/0.2207, allocations: 0 / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.002547/0.2233, allocations: 248.1 kB / 0.9035 GB, free: 60.44 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)