Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset",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.914/2.914, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001731/0.001731, allocations: 182.9 kB / 370.8 MB, free: 10.87 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.26/2.26, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001194/0.001194, allocations: 104.8 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004969, allocations: 11.11 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.233, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005191/0.2383, allocations: 3.68 MB / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004049/0.2424, allocations: 1.489 MB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009152/0.2434, allocations: 31.81 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.2435, allocations: 67.17 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.2447, allocations: 247.2 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.2467, allocations: 0.5219 MB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002298/0.2491, allocations: 0.7743 MB / 0.9849 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008481/0.25, allocations: 351.4 kB / 0.9853 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009454/0.2509, allocations: 374.1 kB / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005497/0.2515, allocations: 337.9 kB / 0.9859 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.2517, allocations: 28 kB / 0.986 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.2518, allocations: 24 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.252, allocations: 143.2 kB / 0.9861 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.2522, allocations: 169.1 kB / 0.9863 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.2532, allocations: 0.8107 MB / 0.9871 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2533, allocations: 0 / 0.9871 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2533, allocations: 0 / 0.9871 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.2533, allocations: 4 kB / 0.9871 GB, free: 19.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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003461/0.2568, allocations: 1.251 MB / 0.9883 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.2568, allocations: 12.02 kB / 0.9883 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002324/0.2571, allocations: 110.5 kB / 0.9884 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.2573, allocations: 126.5 kB / 0.9885 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.2591, allocations: 0.7074 MB / 0.9892 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.2593, allocations: 79.7 kB / 0.9893 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.2594, allocations: 71.94 kB / 0.9894 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.2612, allocations: 0.7289 MB / 0.9901 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.2613, allocations: 0 / 0.9901 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.54e-05/0.2614, allocations: 32 kB / 0.9901 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.2614, allocations: 16 kB / 0.9901 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.2632, allocations: 0.5321 MB / 0.9906 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005223/0.2684, allocations: 2.29 MB / 0.9929 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/0.2709, allocations: 0.6561 MB / 0.9935 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-05/0.2711, allocations: 4.562 kB / 0.9935 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.2721, allocations: 334.9 kB / 0.9938 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 3.947e-06/0.2722, allocations: 0 / 0.9938 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.002674/0.2748, allocations: 0.7638 MB / 0.9946 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.2749, allocations: 89.61 kB / 0.9947 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.2762, allocations: 0.752 MB / 0.9954 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.2763, allocations: 41.7 kB / 0.9955 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.2767, allocations: 444.5 kB / 0.9959 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.2769, allocations: 205 kB / 0.9961 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.277, allocations: 12 kB / 0.9961 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.2771, allocations: 330 kB / 0.9964 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007827/0.2779, allocations: 197.2 kB / 0.9966 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008204/0.2787, allocations: 316.4 kB / 0.9969 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000834/0.2796, allocations: 234.2 kB / 0.9971 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.2796, allocations: 0 / 0.9971 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00207/0.2817, allocations: 0.6656 MB / 0.9978 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002243/0.2819, allocations: 0.8753 MB / 0.9986 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.282, allocations: 0 / 0.9986 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.282, allocations: 8 kB / 0.9986 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.2832, allocations: 151.8 kB / 0.9988 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.2832, allocations: 4 kB / 0.9988 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008298/0.2841, allocations: 75.34 kB / 0.9988 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.237e-05/0.2841, allocations: 20 kB / 0.9989 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2842, allocations: 4 kB / 0.9989 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001676/0.2859, allocations: 0.5245 MB / 0.9994 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2859, allocations: 0 / 0.9994 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2859, allocations: 15.94 kB / 0.9994 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.287, allocations: 144 kB / 0.9995 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.2871, allocations: 4 kB / 0.9995 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008037/0.2879, allocations: 59.42 kB / 0.9996 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.2879, allocations: 20 kB / 0.9996 GB, free: 6.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0005278/0.2885, allocations: 304.9 kB / 0.9999 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.2887, allocations: 94.88 kB / 1 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.2889, allocations: 109.3 kB / 1 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.2889, allocations: 15.95 kB / 1 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.2889, allocations: 3.938 kB / 1 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.289, allocations: 3.984 kB / 1 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.2922, allocations: 1.447 MB / 1.002 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.2922, allocations: 0 / 1.002 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.2933, allocations: 111.8 kB / 1.002 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.2933, allocations: 7.953 kB / 1.002 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.2934, allocations: 15.98 kB / 1.002 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/0.2934, allocations: 4 kB / 1.002 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2934, allocations: 0 / 1.002 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.2962, allocations: 0.9747 MB / 1.003 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/0.2966, allocations: 223.7 kB / 1.003 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.2968, allocations: 19.95 kB / 1.003 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008272/0.2976, allocations: 39.97 kB / 1.003 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.2978, allocations: 40.5 kB / 1.003 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/0.2979, allocations: 16 kB / 1.003 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008771/0.2987, allocations: 0.5109 MB / 1.003 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.813e-06/0.2988, allocations: 0 / 1.003 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001077/0.2999, allocations: 275 kB / 1.004 GB, free: 1.711 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002976/0.3028, allocations: 1.534 MB / 1.005 GB, free: 156 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002926/0.3058, allocations: 0.804 MB / 1.006 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.3059, allocations: 128 / 1.006 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009718/0.3069, allocations: 275.1 kB / 1.006 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.3088, allocations: 230.9 kB / 1.006 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006684/0.3155, allocations: 3.641 MB / 1.01 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008175/0.3164, allocations: 1.013 MB / 1.011 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009603/0.3173, allocations: 122.8 kB / 1.011 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007958/0.3181, allocations: 351.3 kB / 1.011 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of SimCode: time 1.783e-06/0.3182, allocations: 0 / 1.011 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06723/0.3854, allocations: 16.03 MB / 1.027 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004054/0.3859, allocations: 178.1 kB / 1.027 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.192/3.578, allocations: 4.062 kB / 1.027 GB, free: 9.59 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)