Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 252 MB / 267 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 180.9 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 0.5777 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007861/0.0007859, allocations: 90.11 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004226, allocations: 13.47 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2604, allocations: 106.4 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.004236/0.2647, allocations: 4.635 MB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003322/0.268, allocations: 1.709 MB / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000987/0.2691, allocations: 31.88 kB / 0.9066 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004339/0.2695, allocations: 194.1 kB / 0.9068 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005892/0.2701, allocations: 126.9 kB / 0.9069 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008565/0.271, allocations: 335.4 kB / 0.9072 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.272, allocations: 1.312 MB / 0.9085 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000652/0.2727, allocations: 0.4941 MB / 0.909 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.273, allocations: 329.9 kB / 0.9093 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.2733, allocations: 405.3 kB / 0.9097 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.651e-05/0.2734, allocations: 36 kB / 0.9097 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.317e-05/0.2734, allocations: 36 kB / 0.9097 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.2735, allocations: 175 kB / 0.9099 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.2737, allocations: 213 kB / 0.9101 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007388/0.2745, allocations: 1.278 MB / 0.9113 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.2745, allocations: 0 / 0.9113 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2745, allocations: 4 kB / 0.9113 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.2745, allocations: 0 / 0.9113 GB, free: 52.43 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.00268/0.2772, allocations: 1.533 MB / 0.9128 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.2773, allocations: 8.031 kB / 0.9129 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.2774, allocations: 156.5 kB / 0.913 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.2777, allocations: 154.1 kB / 0.9131 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000939/0.2786, allocations: 0.7501 MB / 0.9139 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.2787, allocations: 78.08 kB / 0.914 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.2788, allocations: 108 kB / 0.9141 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.2805, allocations: 1.102 MB / 0.9151 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.2805, allocations: 7.922 kB / 0.9151 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.239e-05/0.2806, allocations: 44 kB / 0.9152 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.2807, allocations: 28 kB / 0.9152 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.2823, allocations: 0.8743 MB / 0.9161 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004472/0.2868, allocations: 4.163 MB / 0.9201 GB, free: 43.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.2887, allocations: 1.069 MB / 0.9212 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007498/0.2895, allocations: 499.6 kB / 0.9217 GB, free: 41.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.196e-05/0.2896, allocations: 12.98 kB / 0.9217 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008635/0.2905, allocations: 461 kB / 0.9221 GB, free: 41.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=84): time 3.807e-06/0.2905, allocations: 0 / 0.9221 GB, free: 41.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84): time 0.00212/0.2926, allocations: 1.143 MB / 0.9232 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.018e-05/0.2927, allocations: 226.6 kB / 0.9234 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/0.2936, allocations: 0.8781 MB / 0.9243 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.2937, allocations: 41.7 kB / 0.9243 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.294, allocations: 0.5431 MB / 0.9249 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.2941, allocations: 295.8 kB / 0.9251 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.2942, allocations: 20 kB / 0.9252 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.2943, allocations: 334 kB / 0.9255 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006394/0.2949, allocations: 341.8 kB / 0.9258 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007135/0.2956, allocations: 0.5281 MB / 0.9263 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006686/0.2963, allocations: 386.8 kB / 0.9267 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2963, allocations: 3.938 kB / 0.9267 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00166/0.298, allocations: 0.996 MB / 0.9277 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.566e-05/0.2981, allocations: 156.2 kB / 0.9278 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.2981, allocations: 4 kB / 0.9278 GB, free: 35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.2981, allocations: 11.95 kB / 0.9278 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/0.2989, allocations: 211.8 kB / 0.928 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.2989, allocations: 11.92 kB / 0.928 GB, free: 34.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006007/0.2995, allocations: 167 kB / 0.9282 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.2995, allocations: 35.98 kB / 0.9282 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.615e-06/0.2996, allocations: 4 kB / 0.9282 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009701/0.3005, allocations: 0.6871 MB / 0.9289 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3006, allocations: 3.984 kB / 0.9289 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/0.3006, allocations: 8 kB / 0.9289 GB, free: 33.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/0.3011, allocations: 167.8 kB / 0.9291 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3011, allocations: 8 kB / 0.9291 GB, free: 33.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/0.3016, allocations: 127.3 kB / 0.9292 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.3017, allocations: 31.94 kB / 0.9292 GB, free: 33.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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 0.00043/0.3021, allocations: 338.9 kB / 0.9296 GB, free: 33.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.3022, allocations: 110.6 kB / 0.9297 GB, free: 33.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.3024, allocations: 123.2 kB / 0.9298 GB, free: 32.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.3024, allocations: 8 kB / 0.9298 GB, free: 32.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.3024, allocations: 4 kB / 0.9298 GB, free: 32.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3024, allocations: 3.984 kB / 0.9298 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008278/0.3033, allocations: 0.9715 MB / 0.9308 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3033, allocations: 0 / 0.9308 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006581/0.3039, allocations: 179.8 kB / 0.9309 GB, free: 31.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.3039, allocations: 7.984 kB / 0.9309 GB, free: 31.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.304, allocations: 19.98 kB / 0.931 GB, free: 31.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.304, allocations: 4 kB / 0.931 GB, free: 31.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.304, allocations: 0 / 0.931 GB, free: 31.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.3062, allocations: 1.331 MB / 0.9323 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.3063, allocations: 191.5 kB / 0.9324 GB, free: 30.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.192e-05/0.3064, allocations: 20 kB / 0.9325 GB, free: 30.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.3069, allocations: 83.94 kB / 0.9325 GB, free: 30.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.307, allocations: 52.92 kB / 0.9326 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.3071, allocations: 19.98 kB / 0.9326 GB, free: 30 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006402/0.3077, allocations: 0.5995 MB / 0.9332 GB, free: 29.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.1e-07/0.3077, allocations: 0 / 0.9332 GB, free: 29.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000723/0.3084, allocations: 382.4 kB / 0.9336 GB, free: 29.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * 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.002434/0.3109, allocations: 1.892 MB / 0.9354 GB, free: 27.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002074/0.313, allocations: 1.21 MB / 0.9366 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.313, allocations: 0 / 0.9366 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007109/0.3137, allocations: 413.8 kB / 0.937 GB, free: 25.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.3148, allocations: 250.9 kB / 0.9372 GB, free: 25.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009195/0.3241, allocations: 6.454 MB / 0.9435 GB, free: 18.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.3246, allocations: 1.081 MB / 0.9446 GB, free: 17.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006064/0.3252, allocations: 128 kB / 0.9447 GB, free: 17.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004997/0.3257, allocations: 471.3 kB / 0.9452 GB, free: 16.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.894e-06/0.3257, allocations: 0 / 0.9452 GB, free: 16.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.362, allocations: 19.82 MB / 0.9645 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.3623, allocations: 194.9 kB / 0.9647 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.624/2.986, allocations: 4 kB / 0.9647 GB, free: 13.04 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)