Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.001261, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.198/2.198, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.823/1.823, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005656/0.0005657, allocations: 15.91 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2368, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.001641/0.2384, allocations: 1.684 MB / 0.7889 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.24, allocations: 1.589 MB / 0.7904 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.2401, allocations: 4 kB / 0.7904 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.433e-05/0.2402, allocations: 43.52 kB / 0.7905 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.2404, allocations: 91.67 kB / 0.7906 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.241, allocations: 318 kB / 0.7909 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000418/0.2414, allocations: 425.2 kB / 0.7913 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.2417, allocations: 242.6 kB / 0.7915 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.2419, allocations: 195.1 kB / 0.7917 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.2421, allocations: 210.8 kB / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.2421, allocations: 24 kB / 0.7919 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-05/0.2422, allocations: 35.98 kB / 0.792 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.2423, allocations: 87.53 kB / 0.792 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.145e-05/0.2424, allocations: 121.4 kB / 0.7922 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004611/0.2428, allocations: 0.6586 MB / 0.7928 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.2428, allocations: 0 / 0.7928 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2428, allocations: 3.938 kB / 0.7928 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2429, allocations: 0 / 0.7928 GB, free: 6.148 MB / 0.6075 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.001106/0.244, allocations: 0.8892 MB / 0.7937 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.244, allocations: 8.031 kB / 0.7937 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.521e-05/0.2441, allocations: 94.45 kB / 0.7938 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.857e-05/0.2442, allocations: 75.16 kB / 0.7938 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.2446, allocations: 425.8 kB / 0.7942 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.2447, allocations: 44.98 kB / 0.7943 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.2448, allocations: 64 kB / 0.7943 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.2454, allocations: 494.9 kB / 0.7948 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.2455, allocations: 0 / 0.7948 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.2455, allocations: 20 kB / 0.7948 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.2455, allocations: 12 kB / 0.7949 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005956/0.2461, allocations: 359.8 kB / 0.7952 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.2479, allocations: 1.589 MB / 0.7967 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007656/0.2486, allocations: 0.8959 MB / 0.7976 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.2487, allocations: 7.938 kB / 0.7976 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003835/0.2491, allocations: 260.9 kB / 0.7979 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.603e-06/0.2491, allocations: 0 / 0.7979 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47): time 0.0008703/0.25, allocations: 0.5454 MB / 0.7984 GB, free: 76 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.25, allocations: 119.3 kB / 0.7985 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.2504, allocations: 405.9 kB / 0.7989 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.2504, allocations: 41.7 kB / 0.799 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.2506, allocations: 273 kB / 0.7992 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-05/0.2507, allocations: 145.8 kB / 0.7994 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.2507, allocations: 12 kB / 0.7994 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.2508, allocations: 358.8 kB / 0.7997 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/0.2512, allocations: 193 kB / 0.7999 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.2515, allocations: 287.4 kB / 0.8002 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.2519, allocations: 272.1 kB / 0.8004 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2519, allocations: 4 kB / 0.8004 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009189/0.2528, allocations: 0.6356 MB / 0.801 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.253, allocations: 0.6758 MB / 0.8017 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2531, allocations: 3.828 kB / 0.8017 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.2531, allocations: 4 kB / 0.8017 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.2534, allocations: 95.83 kB / 0.8018 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.2534, allocations: 7.984 kB / 0.8018 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.2539, allocations: 135.4 kB / 0.8019 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.254, allocations: 24 kB / 0.802 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.751e-06/0.254, allocations: 4 kB / 0.802 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006899/0.2547, allocations: 0.529 MB / 0.8025 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2547, allocations: 4 kB / 0.8025 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.2547, allocations: 7.938 kB / 0.8025 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.2549, allocations: 71.91 kB / 0.8026 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2549, allocations: 4 kB / 0.8026 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/0.2554, allocations: 123.5 kB / 0.8027 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.2554, allocations: 23.98 kB / 0.8027 GB, free: 11.48 MB / 0.6231 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.0001905/0.2556, allocations: 271 kB / 0.803 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.2557, allocations: 43.44 kB / 0.803 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.826e-05/0.2558, allocations: 53.19 kB / 0.8031 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2558, allocations: 4 kB / 0.8031 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2558, allocations: 0 / 0.8031 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2558, allocations: 8.078 kB / 0.8031 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.257, allocations: 1.084 MB / 0.8041 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.257, allocations: 4 kB / 0.8041 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.2573, allocations: 79.89 kB / 0.8042 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.2574, allocations: 7.953 kB / 0.8042 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.2574, allocations: 12 kB / 0.8042 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2574, allocations: 0 / 0.8042 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2574, allocations: 0 / 0.8042 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009117/0.2583, allocations: 0.7129 MB / 0.8049 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/0.2584, allocations: 136.4 kB / 0.8051 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.2585, allocations: 15.95 kB / 0.8051 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.2587, allocations: 27.97 kB / 0.8051 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.2587, allocations: 24.41 kB / 0.8051 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.2587, allocations: 19.98 kB / 0.8051 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002438/0.259, allocations: 283.2 kB / 0.8054 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.112e-06/0.259, allocations: 4 kB / 0.8054 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004927/0.2595, allocations: 215.2 kB / 0.8056 GB, free: 8.406 MB / 0.6231 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.001159/0.2607, allocations: 1.281 MB / 0.8069 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.2618, allocations: 0.9468 MB / 0.8078 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2618, allocations: 4.062 kB / 0.8078 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.2621, allocations: 198.4 kB / 0.808 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.2625, allocations: 93.39 kB / 0.8081 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.2642, allocations: 2.383 MB / 0.8104 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.2645, allocations: 0.8632 MB / 0.8112 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001526/0.2647, allocations: 55.44 kB / 0.8113 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.2649, allocations: 199.4 kB / 0.8115 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2649, allocations: 0 / 0.8115 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2288/0.4937, allocations: 10.69 MB / 0.8219 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003237/0.4941, allocations: 199 kB / 0.8221 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.474, allocations: 0 / 0.8221 GB, free: 7.508 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1) Environment - environmentSimulation: