Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.764/2.764, allocations: 287.5 MB / 302.4 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001354/0.001354, allocations: 178.1 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008846/0.0008843, allocations: 85.48 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007375/0.0007377, allocations: 14.77 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2206, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.002626/0.2232, allocations: 1.656 MB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002969/0.2263, allocations: 1.628 MB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004366/0.2268, allocations: 7.938 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.227, allocations: 59.44 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003956/0.2274, allocations: 63.5 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.2286, allocations: 318 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008671/0.2295, allocations: 0.6451 MB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.23, allocations: 230.6 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003423/0.2304, allocations: 199 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.2307, allocations: 218.8 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-05/0.2308, allocations: 24 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.2309, allocations: 35.98 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/0.231, allocations: 83.55 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.2312, allocations: 125.3 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007181/0.2319, allocations: 0.6586 MB / 0.9843 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2319, allocations: 0 / 0.9843 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2319, allocations: 0 / 0.9843 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.232, allocations: 0 / 0.9843 GB, free: 22.28 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001999/0.234, allocations: 0.8853 MB / 0.9851 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.234, allocations: 12.02 kB / 0.9851 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/0.2342, allocations: 94.52 kB / 0.9852 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.2344, allocations: 75.16 kB / 0.9853 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007453/0.2352, allocations: 429.8 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.2352, allocations: 48.92 kB / 0.9858 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.2354, allocations: 63.92 kB / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.2366, allocations: 0.495 MB / 0.9863 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.2366, allocations: 0 / 0.9863 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.476e-05/0.2367, allocations: 20 kB / 0.9863 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.2367, allocations: 12 kB / 0.9863 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.2378, allocations: 351.8 kB / 0.9867 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003172/0.241, allocations: 1.586 MB / 0.9882 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.2423, allocations: 0.8926 MB / 0.9891 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005499/0.2429, allocations: 232.8 kB / 0.9893 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.569e-05/0.2429, allocations: 7.953 kB / 0.9893 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000684/0.2436, allocations: 265.5 kB / 0.9896 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 3.647e-06/0.2436, allocations: 0 / 0.9896 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.001617/0.2453, allocations: 0.5493 MB / 0.9901 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.2454, allocations: 111.2 kB / 0.9902 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005734/0.2459, allocations: 409.9 kB / 0.9906 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.696e-05/0.2461, allocations: 37.7 kB / 0.9906 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.2463, allocations: 265 kB / 0.9909 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.2464, allocations: 165.7 kB / 0.991 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.2465, allocations: 12 kB / 0.9911 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.2466, allocations: 358.8 kB / 0.9914 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006345/0.2473, allocations: 189 kB / 0.9916 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006801/0.248, allocations: 291.4 kB / 0.9919 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006558/0.2486, allocations: 272.1 kB / 0.9921 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2487, allocations: 0 / 0.9921 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0017/0.2504, allocations: 0.6394 MB / 0.9927 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.2505, allocations: 191.3 kB / 0.9929 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.2505, allocations: 4 kB / 0.9929 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.2505, allocations: 8 kB / 0.9929 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.2512, allocations: 95.77 kB / 0.993 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.2512, allocations: 4 kB / 0.993 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009978/0.2522, allocations: 133.4 kB / 0.9932 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/0.2523, allocations: 23.98 kB / 0.9932 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.2523, allocations: 8 kB / 0.9932 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001216/0.2536, allocations: 0.5211 MB / 0.9937 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2536, allocations: 0 / 0.9937 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.2536, allocations: 7.984 kB / 0.9937 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/0.2541, allocations: 75.86 kB / 0.9938 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.2541, allocations: 11.94 kB / 0.9938 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009188/0.2551, allocations: 115.7 kB / 0.9939 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.306e-05/0.2552, allocations: 31.98 kB / 0.9939 GB, free: 11.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0003511/0.2555, allocations: 253 kB / 0.9942 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.426e-05/0.2556, allocations: 47.44 kB / 0.9942 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.2558, allocations: 61.11 kB / 0.9943 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2558, allocations: 4 kB / 0.9943 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.2558, allocations: 3.953 kB / 0.9943 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2558, allocations: 0 / 0.9943 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.2578, allocations: 1.091 MB / 0.9953 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.2579, allocations: 4 kB / 0.9954 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000654/0.2585, allocations: 83.84 kB / 0.9954 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.617e-06/0.2586, allocations: 4 kB / 0.9954 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.2586, allocations: 4 kB / 0.9954 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.2586, allocations: 4 kB / 0.9954 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2586, allocations: 3.984 kB / 0.9954 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.2603, allocations: 0.7128 MB / 0.9961 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.2604, allocations: 132.5 kB / 0.9963 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.2605, allocations: 19.94 kB / 0.9963 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.2609, allocations: 27.98 kB / 0.9963 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.261, allocations: 32.39 kB / 0.9963 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.261, allocations: 8 kB / 0.9964 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004117/0.2615, allocations: 287.2 kB / 0.9966 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.52e-07/0.2615, allocations: 0 / 0.9966 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009286/0.2624, allocations: 215.3 kB / 0.9968 GB, free: 8.793 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001997/0.2644, allocations: 1.281 MB / 0.9981 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002118/0.2666, allocations: 0.9424 MB / 0.999 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.2666, allocations: 0 / 0.999 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005418/0.2672, allocations: 203 kB / 0.9992 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009687/0.2682, allocations: 97.39 kB / 0.9993 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00673/0.2749, allocations: 3.087 MB / 1.002 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.2753, allocations: 0.8554 MB / 1.003 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003435/0.2756, allocations: 55.42 kB / 1.003 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.276, allocations: 195.4 kB / 1.003 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of SimCode: time 7.024e-06/0.276, allocations: 0 / 1.003 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04129/0.3173, allocations: 10.96 MB / 1.014 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/0.3176, allocations: 207.9 kB / 1.014 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/3.351, allocations: 4 kB / 1.014 GB, free: 6.941 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)