Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.532/2.532, 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.001404/0.001403, allocations: 180.7 kB / 371 MB, free: 10.86 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.138/2.138, 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.001072/0.001071, allocations: 99.77 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000766/0.0007664, allocations: 16.39 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2432, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.005156/0.2484, allocations: 3.657 MB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003027/0.2515, allocations: 1.038 MB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008955/0.2524, allocations: 19.94 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.253, allocations: 130.7 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007903/0.2539, allocations: 95.23 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008973/0.2548, allocations: 243.7 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001459/0.2563, allocations: 0.9988 MB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009803/0.2573, allocations: 481 kB / 0.985 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.2577, allocations: 254.4 kB / 0.9852 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003584/0.258, allocations: 313.8 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.2582, allocations: 28 kB / 0.9855 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.2583, allocations: 28 kB / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.2584, allocations: 139.2 kB / 0.9857 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.2586, allocations: 173.1 kB / 0.9858 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.2597, allocations: 1.095 MB / 0.9869 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2597, allocations: 0 / 0.9869 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.885e-06/0.2598, allocations: 4 kB / 0.9869 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.26e-05/0.2598, allocations: 0 / 0.9869 GB, free: 19.53 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.003105/0.2629, allocations: 1.247 MB / 0.9881 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.263, allocations: 8.031 kB / 0.9881 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002683/0.2632, allocations: 151.9 kB / 0.9883 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/0.2635, allocations: 122.5 kB / 0.9884 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.2647, allocations: 0.5976 MB / 0.989 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.062e-05/0.2648, allocations: 74 kB / 0.9891 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.265, allocations: 96 kB / 0.9892 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/0.2672, allocations: 0.9134 MB / 0.99 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.2673, allocations: 3.984 kB / 0.99 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.2674, allocations: 40 kB / 0.9901 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.2675, allocations: 23.98 kB / 0.9901 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.2697, allocations: 0.6793 MB / 0.9908 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006026/0.2757, allocations: 2.896 MB / 0.9936 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.2777, allocations: 0.73 MB / 0.9943 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.2788, allocations: 410.9 kB / 0.9947 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.532e-05/0.2789, allocations: 8.656 kB / 0.9947 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.2799, allocations: 376.3 kB / 0.9951 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 4.268e-06/0.2799, allocations: 0 / 0.9951 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.002687/0.2826, allocations: 0.8912 MB / 0.9959 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.2828, allocations: 162.9 kB / 0.9961 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009979/0.2838, allocations: 0.6176 MB / 0.9967 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.2839, allocations: 41.7 kB / 0.9967 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.2842, allocations: 468.2 kB / 0.9972 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.2845, allocations: 248.3 kB / 0.9974 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.2845, allocations: 16 kB / 0.9974 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.2846, allocations: 330 kB / 0.9978 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008661/0.2855, allocations: 253.9 kB / 0.998 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009191/0.2864, allocations: 397.9 kB / 0.9984 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008903/0.2874, allocations: 291 kB / 0.9987 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2874, allocations: 3.938 kB / 0.9987 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002118/0.2895, allocations: 0.7544 MB / 0.9994 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/0.2896, allocations: 132.4 kB / 0.9995 GB, free: 6.266 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2896, allocations: 4 kB / 0.9995 GB, free: 6.262 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.2897, allocations: 4 kB / 0.9995 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.2908, allocations: 167.7 kB / 0.9997 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.2909, allocations: 4 kB / 0.9997 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007563/0.2916, allocations: 115.2 kB / 0.9998 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-05/0.2917, allocations: 23.98 kB / 0.9998 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2917, allocations: 4 kB / 0.9998 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001222/0.293, allocations: 0.5466 MB / 1 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.293, allocations: 0 / 1 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.293, allocations: 4 kB / 1 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000923/0.2939, allocations: 139.8 kB / 1 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.294, allocations: 4 kB / 1.001 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005979/0.2946, allocations: 91.47 kB / 1.001 GB, free: 5.168 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.2946, allocations: 24 kB / 1.001 GB, free: 5.145 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,$whenCondition1,limPIDInp.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0005162/0.2952, allocations: 308.9 kB / 1.001 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.2953, allocations: 82.97 kB / 1.001 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.2955, allocations: 84.27 kB / 1.001 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.2955, allocations: 8 kB / 1.001 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.2956, allocations: 0 / 1.001 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.2956, allocations: 7.984 kB / 1.001 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.2989, allocations: 1.656 MB / 1.003 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.2989, allocations: 0 / 1.003 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/0.3001, allocations: 151.7 kB / 1.003 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.3001, allocations: 0 / 1.003 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/0.3002, allocations: 23.98 kB / 1.003 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.3002, allocations: 0 / 1.003 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3002, allocations: 0 / 1.003 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/0.303, allocations: 1.104 MB / 1.004 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.3032, allocations: 164 kB / 1.004 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.3033, allocations: 12 kB / 1.004 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006009/0.3039, allocations: 55.97 kB / 1.004 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.933e-05/0.3041, allocations: 40.59 kB / 1.004 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.3041, allocations: 23.98 kB / 1.004 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006681/0.3048, allocations: 439 kB / 1.005 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.3048, allocations: 0 / 1.005 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001002/0.3058, allocations: 338.2 kB / 1.005 GB, free: 0.5742 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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 Backend phase and start with SimCode phase: time 0.003445/0.3093, allocations: 1.663 MB / 1.007 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002936/0.3123, allocations: 0.927 MB / 1.007 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.3123, allocations: 4 kB / 1.008 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.3134, allocations: 336 kB / 1.008 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.3148, allocations: 164.2 kB / 1.008 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.3282, allocations: 4.913 MB / 1.013 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008482/0.3291, allocations: 1.006 MB / 1.014 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006862/0.3299, allocations: 102 kB / 1.014 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007654/0.3306, allocations: 375.3 kB / 1.014 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/0.3306, allocations: 0 / 1.014 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05731/0.388, allocations: 14.55 MB / 1.028 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002839/0.3883, allocations: 208.4 kB / 1.029 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.42/3.809, allocations: 1.562 kB / 1.029 GB, free: 8.387 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)