Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.731/1.731, allocations: 288.4 MB / 303.3 MB, free: 8.145 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.0009823/0.0009824, allocations: 180.4 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0008777/0.0008775, allocations: 102.9 kB / 0.744 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004035, allocations: 13.62 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2308, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.001907/0.2328, allocations: 1.572 MB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.2346, allocations: 1.539 MB / 0.9827 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.2348, allocations: 8 kB / 0.9827 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.235, allocations: 63.31 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.2353, allocations: 67.55 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.2358, allocations: 219.9 kB / 0.983 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.2362, allocations: 0.571 MB / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003267/0.2366, allocations: 233.9 kB / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.2367, allocations: 163.2 kB / 0.984 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.2369, allocations: 186.8 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.237, allocations: 20 kB / 0.9842 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.465e-05/0.2371, allocations: 31.98 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.081e-05/0.2372, allocations: 79.55 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.2372, allocations: 109.4 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.2376, allocations: 0.6041 MB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2377, allocations: 0 / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2377, allocations: 4 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.2377, allocations: 0 / 0.985 GB, free: 22.07 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001313/0.239, allocations: 0.8252 MB / 0.9858 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.2391, allocations: 16.02 kB / 0.9858 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.922e-05/0.2392, allocations: 82.52 kB / 0.9859 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.612e-05/0.2393, allocations: 71.16 kB / 0.986 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/0.2397, allocations: 413.9 kB / 0.9863 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.2398, allocations: 37 kB / 0.9864 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.2399, allocations: 52 kB / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/0.2405, allocations: 486.9 kB / 0.9869 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.2406, allocations: 0 / 0.9869 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.2406, allocations: 16 kB / 0.9869 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.2406, allocations: 15.94 kB / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005693/0.2412, allocations: 335.8 kB / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.2429, allocations: 1.484 MB / 0.9887 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/0.2437, allocations: 0.8602 MB / 0.9895 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.244, allocations: 225.2 kB / 0.9897 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.244, allocations: 4 kB / 0.9898 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004044/0.2444, allocations: 231.1 kB / 0.99 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 1.794e-06/0.2444, allocations: 0 / 0.99 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.0008325/0.2453, allocations: 0.4893 MB / 0.9905 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.2453, allocations: 114.7 kB / 0.9906 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.2457, allocations: 397.5 kB / 0.9909 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.2457, allocations: 37.7 kB / 0.991 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.2459, allocations: 252.3 kB / 0.9912 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.2459, allocations: 142 kB / 0.9914 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.246, allocations: 12 kB / 0.9914 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.2461, allocations: 358.8 kB / 0.9917 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.2464, allocations: 156.8 kB / 0.9919 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.2467, allocations: 263 kB / 0.9921 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.247, allocations: 214.4 kB / 0.9923 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.247, allocations: 0 / 0.9923 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008079/0.2478, allocations: 0.5353 MB / 0.9928 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.518e-05/0.2479, allocations: 185.4 kB / 0.993 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2479, allocations: 0 / 0.993 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.248, allocations: 4 kB / 0.993 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.2483, allocations: 83.89 kB / 0.9931 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2483, allocations: 7.984 kB / 0.9931 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.2487, allocations: 99.48 kB / 0.9932 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.2488, allocations: 19.98 kB / 0.9932 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.2488, allocations: 5.562 kB / 0.9932 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005892/0.2494, allocations: 429.3 kB / 0.9936 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.2494, allocations: 4 kB / 0.9936 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/0.2494, allocations: 4.047 kB / 0.9936 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.2496, allocations: 75.83 kB / 0.9937 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.2497, allocations: 4 kB / 0.9937 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.25, allocations: 87.81 kB / 0.9938 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.25, allocations: 16 kB / 0.9938 GB, free: 12.55 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * 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.0001786/0.2502, allocations: 257 kB / 0.9941 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.2502, allocations: 47.38 kB / 0.9941 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.653e-05/0.2503, allocations: 52.77 kB / 0.9942 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2503, allocations: 8 kB / 0.9942 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2504, allocations: 0 / 0.9942 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2504, allocations: 7.938 kB / 0.9942 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.2515, allocations: 1.015 MB / 0.9952 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2515, allocations: 0 / 0.9952 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.2519, allocations: 71.91 kB / 0.9952 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2519, allocations: 3.984 kB / 0.9952 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.2519, allocations: 15.95 kB / 0.9952 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2519, allocations: 4 kB / 0.9953 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2519, allocations: 0 / 0.9953 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008287/0.2528, allocations: 0.6564 MB / 0.9959 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.2528, allocations: 116.6 kB / 0.996 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.2529, allocations: 11.98 kB / 0.996 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.2531, allocations: 35.94 kB / 0.996 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.2531, allocations: 19.97 kB / 0.9961 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.2532, allocations: 15.94 kB / 0.9961 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002247/0.2534, allocations: 279.1 kB / 0.9963 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2534, allocations: 0 / 0.9963 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004684/0.2539, allocations: 187.3 kB / 0.9965 GB, free: 9.668 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: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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.001083/0.255, allocations: 1.217 MB / 0.9977 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009624/0.2559, allocations: 0.7251 MB / 0.9984 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2559, allocations: 0.875 kB / 0.9984 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.2562, allocations: 179.8 kB / 0.9986 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.2567, allocations: 97.39 kB / 0.9987 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.2602, allocations: 2.812 MB / 1.001 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.2604, allocations: 0.8508 MB / 1.002 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001796/0.2606, allocations: 55.31 kB / 1.002 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.2608, allocations: 183.4 kB / 1.002 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2608, allocations: 4 kB / 1.002 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.282, allocations: 9.423 MB / 1.012 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.2822, allocations: 203.1 kB / 1.012 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/2.873, allocations: 0 / 1.012 GB, free: 9.965 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)