Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01372/0.01373, allocations: 88.36 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001628/0.001628, allocations: 173.9 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 1.952/1.952, allocations: 205.5 MB / 222.2 MB, free: 13.75 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.301/2.301, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005627/0.0005631, allocations: 13.62 kB / 0.6243 GB, free: 28.47 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2138, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.009121/0.2229, allocations: 5.344 MB / 0.7333 GB, free: 4.812 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.007085/0.2301, allocations: 2.679 MB / 0.7359 GB, free: 2.117 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.2315, allocations: 39.81 kB / 0.7359 GB, free: 2.078 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.0006318/0.2322, allocations: 162.3 kB / 0.7361 GB, free: 1.918 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.2336, allocations: 243.1 kB / 0.7363 GB, free: 1.68 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.2363, allocations: 0.6786 MB / 0.737 GB, free: 1 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.001291/0.2376, allocations: 0.5723 MB / 0.7376 GB, free: 440 kB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008867/0.2385, allocations: 499.2 kB / 0.738 GB, free: 15.92 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004682/0.239, allocations: 246.9 kB / 0.7383 GB, free: 15.68 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004727/0.2394, allocations: 282.4 kB / 0.7385 GB, free: 15.4 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.2396, allocations: 28 kB / 0.7386 GB, free: 15.38 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.2397, allocations: 31.98 kB / 0.7386 GB, free: 15.34 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.2399, allocations: 119.4 kB / 0.7387 GB, free: 15.23 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.2401, allocations: 145.3 kB / 0.7388 GB, free: 15.08 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.2411, allocations: 0.721 MB / 0.7395 GB, free: 14.36 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2411, allocations: 0 / 0.7395 GB, free: 14.36 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2412, allocations: 0 / 0.7395 GB, free: 14.36 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.2412, allocations: 0 / 0.7395 GB, free: 14.36 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00297/0.2442, allocations: 1.043 MB / 0.7406 GB, free: 13.25 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.2442, allocations: 8.031 kB / 0.7406 GB, free: 13.25 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001825/0.2444, allocations: 114.4 kB / 0.7407 GB, free: 13.12 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.2446, allocations: 98.88 kB / 0.7408 GB, free: 13.03 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2457, allocations: 495.9 kB / 0.7413 GB, free: 12.5 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.532e-05/0.2458, allocations: 57.3 kB / 0.7413 GB, free: 12.45 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.246, allocations: 72 kB / 0.7414 GB, free: 12.38 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.2481, allocations: 0.7286 MB / 0.7421 GB, free: 11.61 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.2481, allocations: 4 kB / 0.7421 GB, free: 11.6 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.933e-05/0.2482, allocations: 31.97 kB / 0.7421 GB, free: 11.57 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.2483, allocations: 19.95 kB / 0.7421 GB, free: 11.55 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.2503, allocations: 0.5203 MB / 0.7426 GB, free: 11.03 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005436/0.2558, allocations: 2.793 MB / 0.7454 GB, free: 8.109 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/0.2582, allocations: 0.6461 MB / 0.746 GB, free: 7.445 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.059e-05/0.2583, allocations: 8.438 kB / 0.746 GB, free: 7.438 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/0.2596, allocations: 398.2 kB / 0.7464 GB, free: 7.035 MB / 0.573 GB Notification: Performance of pre-optimization done (n=58): time 3.827e-06/0.2597, allocations: 4 kB / 0.7464 GB, free: 7.031 MB / 0.573 GB Notification: Performance of matching and sorting (n=58): time 0.003329/0.263, allocations: 0.8534 MB / 0.7472 GB, free: 6.176 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.946e-05/0.2631, allocations: 149.1 kB / 0.7474 GB, free: 6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009597/0.2641, allocations: 0.5029 MB / 0.7479 GB, free: 5.488 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.2642, allocations: 49.64 kB / 0.7479 GB, free: 5.434 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.2646, allocations: 352.3 kB / 0.7482 GB, free: 5.082 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.2649, allocations: 185.4 kB / 0.7484 GB, free: 4.898 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.265, allocations: 24.03 kB / 0.7484 GB, free: 4.875 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.2651, allocations: 374.8 kB / 0.7488 GB, free: 4.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.2662, allocations: 265.5 kB / 0.7491 GB, free: 4.238 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.2674, allocations: 409.3 kB / 0.7494 GB, free: 3.781 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.2685, allocations: 324.7 kB / 0.7498 GB, free: 3.457 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.2685, allocations: 0 / 0.7498 GB, free: 3.457 MB / 0.573 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002765/0.2713, allocations: 0.8878 MB / 0.7506 GB, free: 2.559 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005681/0.2719, allocations: 1.26 MB / 0.7519 GB, free: 1.195 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.2719, allocations: 4 kB / 0.7519 GB, free: 1.191 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.2719, allocations: 7.953 kB / 0.7519 GB, free: 1.184 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009496/0.2729, allocations: 131.8 kB / 0.752 GB, free: 1.055 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.2729, allocations: 11.94 kB / 0.752 GB, free: 1.043 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.274, allocations: 131.3 kB / 0.7521 GB, free: 0.9141 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.643e-05/0.2741, allocations: 35.98 kB / 0.7522 GB, free: 0.8789 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.2741, allocations: 4 kB / 0.7522 GB, free: 0.875 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002322/0.2764, allocations: 0.7698 MB / 0.7529 GB, free: 104 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.2765, allocations: 4.406 kB / 0.7529 GB, free: 100 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2765, allocations: 12 kB / 0.7529 GB, free: 88 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008123/0.2773, allocations: 111.9 kB / 0.753 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.2774, allocations: 11.94 kB / 0.7531 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009483/0.2783, allocations: 123.3 kB / 0.7532 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.645e-05/0.2784, allocations: 31.98 kB / 0.7532 GB, free: 15.81 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition3,$whenCondition1,$PRE.optSta.hysSta.y,optSta.hysSta.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,optSta.con3.y,optSta.con.y,optSta.optOn,conPID.I.trigger_internal,conPID1.I.trigger_internal,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0005418/0.279, allocations: 295.5 kB / 0.7535 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.2791, allocations: 63.16 kB / 0.7535 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.2793, allocations: 78.31 kB / 0.7536 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.2794, allocations: 8 kB / 0.7536 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.2794, allocations: 8 kB / 0.7536 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/0.2794, allocations: 3.984 kB / 0.7536 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003395/0.2828, allocations: 1.328 MB / 0.7549 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.2829, allocations: 4 kB / 0.7549 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008587/0.2838, allocations: 91.88 kB / 0.755 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/0.2838, allocations: 4 kB / 0.755 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.15e-05/0.2839, allocations: 15.98 kB / 0.755 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/0.2839, allocations: 4 kB / 0.755 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2839, allocations: 0 / 0.755 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003583/0.2875, allocations: 1.063 MB / 0.7561 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.2878, allocations: 140.3 kB / 0.7562 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.288, allocations: 19.94 kB / 0.7562 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007368/0.2887, allocations: 63.94 kB / 0.7563 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.2889, allocations: 48.48 kB / 0.7563 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/0.289, allocations: 27.94 kB / 0.7564 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006439/0.2897, allocations: 346.8 kB / 0.7567 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.41e-07/0.2897, allocations: 0 / 0.7567 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001219/0.2909, allocations: 279 kB / 0.757 GB, free: 11.84 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 15 ($whenCondition2,$whenCondition3,$whenCondition1,optSta.hysSta.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.nexStaInd,occSch.nexStoInd,occSch.iPerSta,occSch.iPerSto,occSch.tOcc,occSch.tNonOcc,pul.T_start,pul.count) * Number of discrete states: 10 (occSch.tNonOcc,occSch.tOcc,pul.count,occSch.nexStaInd,occSch.iPerSta,occSch.occupied,occSch.nexStoInd,occSch.iPerSto,optSta.hysSta.y,optSta.falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.004005/0.2949, allocations: 1.708 MB / 0.7586 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003841/0.2988, allocations: 1.304 MB / 0.7599 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.2989, allocations: 0 / 0.7599 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.3001, allocations: 311.2 kB / 0.7602 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.3011, allocations: 122.2 kB / 0.7603 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.3129, allocations: 5.932 MB / 0.7661 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/0.3136, allocations: 0.9304 MB / 0.767 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0006621/0.3142, allocations: 89 kB / 0.7671 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/0.3148, allocations: 259.3 kB / 0.7674 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of SimCode: time 1.222e-06/0.3149, allocations: 0 / 0.7674 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05389/0.3688, allocations: 13.24 MB / 0.7803 GB, free: 3.949 MB / 0.6043 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003151/0.3692, allocations: 219.1 kB / 0.7805 GB, free: 3.703 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/3.289, allocations: 0 / 0.7805 GB, free: 3.703 MB / 0.6043 GB