Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.457/2.457, allocations: 287.9 MB / 302.9 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001443/0.001443, allocations: 177.2 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.229/2.229, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 102.8 kB / 0.7434 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004704, allocations: 15 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2273, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond): time 0.003841/0.2312, allocations: 3.414 MB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003684/0.2349, allocations: 2.248 MB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008326/0.2358, allocations: 35.88 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.236, allocations: 102.8 kB / 0.9844 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006755/0.2367, allocations: 159.4 kB / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.2382, allocations: 498.8 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.2394, allocations: 0.8425 MB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009081/0.2403, allocations: 0.6119 MB / 0.9865 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004417/0.2408, allocations: 358.1 kB / 0.9868 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004026/0.2412, allocations: 437.3 kB / 0.9873 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.2414, allocations: 40 kB / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.2415, allocations: 59.97 kB / 0.9873 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.2417, allocations: 187.1 kB / 0.9875 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.2419, allocations: 244.9 kB / 0.9878 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.2433, allocations: 1.621 MB / 0.9893 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.45e-06/0.2433, allocations: 0 / 0.9893 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.247e-06/0.2433, allocations: 0 / 0.9893 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.2434, allocations: 0 / 0.9893 GB, free: 17.27 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002599/0.246, allocations: 1.436 MB / 0.9907 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.246, allocations: 12.02 kB / 0.9908 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002787/0.2463, allocations: 162.1 kB / 0.9909 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.2482, allocations: 0.8829 MB / 0.9918 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.2484, allocations: 110.5 kB / 0.9919 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.2486, allocations: 136 kB / 0.992 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.251, allocations: 1.146 MB / 0.9931 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.2511, allocations: 3.938 kB / 0.9931 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.2512, allocations: 59.98 kB / 0.9932 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.2513, allocations: 28 kB / 0.9932 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.2533, allocations: 0.8043 MB / 0.994 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006986/0.2603, allocations: 3.637 MB / 0.9976 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.262, allocations: 0.6746 MB / 0.9982 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.834e-05/0.2621, allocations: 16.36 kB / 0.9982 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.2632, allocations: 0.536 MB / 0.9987 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=92): time 4.235e-06/0.2632, allocations: 0 / 0.9987 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92): time 0.002426/0.2657, allocations: 1.048 MB / 0.9998 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.2658, allocations: 251.9 kB / 1 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.2668, allocations: 0.7585 MB / 1.001 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.267, allocations: 49.7 kB / 1.001 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/0.2674, allocations: 0.6197 MB / 1.001 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.2677, allocations: 260.5 kB / 1.002 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.2678, allocations: 28 kB / 1.002 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2679, allocations: 414.7 kB / 1.002 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/0.2687, allocations: 286.5 kB / 1.002 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009403/0.2696, allocations: 0.7875 MB / 1.003 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008647/0.2705, allocations: 397.9 kB / 1.003 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.2705, allocations: 4 kB / 1.004 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00251/0.2731, allocations: 1.189 MB / 1.005 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/0.2731, allocations: 41.7 kB / 1.005 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.2732, allocations: 16 kB / 1.005 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-05/0.2732, allocations: 28 kB / 1.005 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008817/0.2741, allocations: 223.5 kB / 1.005 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.224e-05/0.2742, allocations: 31.92 kB / 1.005 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.2754, allocations: 194.8 kB / 1.005 GB, free: 340 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.2755, allocations: 75.97 kB / 1.005 GB, free: 264 kB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$whenCondition15,$PRE.trimRespondLogic.tim.t_next,$whenCondition10,$PRE.trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,trimRespondLogic1.tim.t_next,$whenCondition8,trimRespondLogic1.sampler.sampleTrigger,$whenCondition9,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition13,trimRespondLogic.sampler.sampleTrigger,$whenCondition14,trimRespondLogic.uniDel.sampleTrigger,$PRE.trimRespondLogic2.sampler.firstTrigger,trimRespondLogic2.sampler.firstTrigger,$whenCondition5,$PRE.trimRespondLogic2.tim.t_next,$whenCondition1,$whenCondition2,trimRespondLogic2.tim.t_next,$whenCondition3,trimRespondLogic2.sampler.sampleTrigger,$whenCondition4,trimRespondLogic2.uniDel.sampleTrigger,trimRespondLogic1.swi2.u2,trimRespondLogic1.not1.y,trimRespondLogic.swi2.u2,trimRespondLogic.not1.y,con.y,trimRespondLogic.tim.y,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,trimRespondLogic1.tim.y,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,reaToInt1.y,trimRespondLogic1.greThr1.y,trimRespondLogic.greThr1.y,$whenCondition16,$whenCondition17,trimRespondLogic.tim.u,$whenCondition11,$whenCondition12,trimRespondLogic1.tim.u,trimRespondLogic1.greThr2.y,trimRespondLogic1.lesThr1.y,trimRespondLogic.greThr2.y,trimRespondLogic.lesThr1.y,$whenCondition6,$whenCondition7,trimRespondLogic2.tim.u,trimRespondLogic2.tim.y,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,$PRE.trimRespondLogic2.uniDel.y,trimRespondLogic2.uniDel.y,trimRespondLogic2.sampler.y,$PRE.booPul.y,booPul.y,reaToInt2.y,trimRespondLogic2.greThr1.y,trimRespondLogic2.greThr2.y,trimRespondLogic2.lesThr1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 163 * 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.000746/0.2763, allocations: 357.4 kB / 1.006 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.2765, allocations: 98.78 kB / 1.006 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.2788, allocations: 0.8591 MB / 1.007 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.2789, allocations: 15.98 kB / 1.007 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.907e-06/0.2789, allocations: 0 / 1.007 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.2789, allocations: 7.984 kB / 1.007 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00459/0.2835, allocations: 2.045 MB / 1.009 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.561e-06/0.2836, allocations: 4 kB / 1.009 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005807/0.2842, allocations: 99.81 kB / 1.009 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/0.2842, allocations: 4 kB / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.869e-05/0.2843, allocations: 23.98 kB / 1.009 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.2843, allocations: 3.953 kB / 1.009 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.56e-06/0.2843, allocations: 4 kB / 1.009 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.2865, allocations: 1.018 MB / 1.01 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.2868, allocations: 175.7 kB / 1.01 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.287, allocations: 27.95 kB / 1.01 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.2876, allocations: 55.94 kB / 1.01 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.2878, allocations: 84.44 kB / 1.01 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.485e-05/0.288, allocations: 35.98 kB / 1.01 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000844/0.2888, allocations: 467 kB / 1.01 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.81e-07/0.2888, allocations: 4 kB / 1.01 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001311/0.2901, allocations: 274.9 kB / 1.011 GB, free: 10.51 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 48 (trimRespondLogic2.uniDel.sampleTrigger,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.tim.u,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,trimRespondLogic2.tim.y,trimRespondLogic2.tim.t_next,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.uniDel.y,trimRespondLogic2.sampler.y,trimRespondLogic2.sampler.firstTrigger,booPul.y,reaToInt2.y,trimRespondLogic.uniDel.sampleTrigger,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,trimRespondLogic1.sampler.sampleTrigger,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition8,trimRespondLogic.tim.y,trimRespondLogic.tim.t_next,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.tim.y,trimRespondLogic1.tim.t_next,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,trimRespondLogic1.sampler.firstTrigger,reaToInt1.y) * Number of discrete states: 6 (trimRespondLogic.tim.t_next,trimRespondLogic1.tim.t_next,trimRespondLogic1.uniDel.u,trimRespondLogic.uniDel.u,trimRespondLogic2.tim.t_next,trimRespondLogic2.uniDel.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.000293/0.2905, allocations: 152.3 kB / 1.011 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002348/0.2928, allocations: 0.9029 MB / 1.012 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.948e-06/0.2929, allocations: 0 / 1.012 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.2939, allocations: 400.5 kB / 1.012 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/0.2947, allocations: 124.2 kB / 1.012 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/0.299, allocations: 2.186 MB / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.3001, allocations: 1.114 MB / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000884/0.301, allocations: 148.6 kB / 1.016 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.3013, allocations: 91.41 kB / 1.016 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of SimCode: time 1.494e-06/0.3013, allocations: 0 / 1.016 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of Templates: time 0.02681/0.3281, allocations: 8.144 MB / 1.024 GB, free: 13.29 MB / 0.6511 GB