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.75/1.75, allocations: 288.2 MB / 303.2 MB, free: 8.246 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.001221/0.001221, allocations: 185 kB / 371.8 MB, free: 10.29 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.658/1.658, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.001146/0.001146, allocations: 91.7 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004111, allocations: 16.77 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2139, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.001627/0.2156, allocations: 1.592 MB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.2171, allocations: 1.519 MB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.2174, allocations: 12 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.195e-05/0.2174, allocations: 39.52 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.2178, allocations: 87.67 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.2183, allocations: 225.3 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.2187, allocations: 381.2 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000313/0.219, allocations: 229.8 kB / 0.9835 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.2192, allocations: 163.2 kB / 0.9836 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.2194, allocations: 182.9 kB / 0.9838 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.2194, allocations: 20 kB / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.195e-05/0.2195, allocations: 35.97 kB / 0.9838 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.2196, allocations: 79.59 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.299e-05/0.2197, allocations: 109.4 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.2201, allocations: 0.608 MB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2201, allocations: 3.938 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2201, allocations: 0 / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.2202, allocations: 0 / 0.9846 GB, free: 22.31 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.00136/0.2215, allocations: 0.8213 MB / 0.9854 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.2216, allocations: 16.02 kB / 0.9854 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.537e-05/0.2217, allocations: 94.45 kB / 0.9855 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.2218, allocations: 67.16 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.2224, allocations: 410 kB / 0.986 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.2224, allocations: 44.94 kB / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-05/0.2225, allocations: 48 kB / 0.9861 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006791/0.2232, allocations: 475 kB / 0.9865 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2232, allocations: 0 / 0.9865 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.2233, allocations: 16 kB / 0.9865 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.2233, allocations: 12 kB / 0.9866 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.2238, allocations: 347.8 kB / 0.9869 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.2257, allocations: 1.472 MB / 0.9883 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/0.2264, allocations: 0.8705 MB / 0.9892 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.2264, allocations: 11.98 kB / 0.9892 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003502/0.2268, allocations: 227.2 kB / 0.9894 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 2.194e-06/0.2268, allocations: 0 / 0.9894 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.000815/0.2276, allocations: 0.4971 MB / 0.9899 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.2277, allocations: 110.8 kB / 0.99 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.228, allocations: 393.6 kB / 0.9904 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.228, allocations: 37.7 kB / 0.9904 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.2282, allocations: 264.2 kB / 0.9907 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.633e-05/0.2282, allocations: 134 kB / 0.9908 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.2283, allocations: 12 kB / 0.9908 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.777e-05/0.2283, allocations: 358.8 kB / 0.9911 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.2286, allocations: 164.8 kB / 0.9913 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.229, allocations: 266.8 kB / 0.9915 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.2293, allocations: 210.4 kB / 0.9917 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2293, allocations: 4 kB / 0.9918 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007477/0.23, allocations: 0.5312 MB / 0.9923 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.2302, allocations: 0.7407 MB / 0.993 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2302, allocations: 0 / 0.993 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2302, allocations: 4 kB / 0.993 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.2306, allocations: 87.83 kB / 0.9931 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.2306, allocations: 8 kB / 0.9931 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.231, allocations: 99.53 kB / 0.9932 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.231, allocations: 19.98 kB / 0.9932 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.211e-06/0.231, allocations: 4 kB / 0.9932 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005229/0.2315, allocations: 425.3 kB / 0.9936 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2316, allocations: 7.938 kB / 0.9936 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/0.2316, allocations: 4 kB / 0.9936 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.2318, allocations: 75.86 kB / 0.9937 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2318, allocations: 4.219 kB / 0.9937 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.2321, allocations: 83.58 kB / 0.9938 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.2322, allocations: 16 kB / 0.9938 GB, free: 12.42 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.0001801/0.2324, allocations: 261 kB / 0.994 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.2324, allocations: 43.44 kB / 0.9941 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.38e-05/0.2325, allocations: 52.77 kB / 0.9941 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2325, allocations: 7.953 kB / 0.9941 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2325, allocations: 0 / 0.9941 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2325, allocations: 3.984 kB / 0.9941 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.2337, allocations: 1.003 MB / 0.9951 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2337, allocations: 3.953 kB / 0.9951 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.234, allocations: 75.91 kB / 0.9952 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.234, allocations: 0 / 0.9952 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.234, allocations: 11.98 kB / 0.9952 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.234, allocations: 4 kB / 0.9952 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.234, allocations: 0 / 0.9952 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008172/0.2349, allocations: 0.6643 MB / 0.9959 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.2349, allocations: 128.5 kB / 0.996 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.235, allocations: 12 kB / 0.996 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.2352, allocations: 31.97 kB / 0.996 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.2352, allocations: 19.97 kB / 0.9961 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.2353, allocations: 12 kB / 0.9961 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002236/0.2355, allocations: 275.2 kB / 0.9963 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2355, allocations: 4 kB / 0.9963 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005196/0.236, allocations: 191.3 kB / 0.9965 GB, free: 9.535 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.001021/0.2371, allocations: 1.213 MB / 0.9977 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009616/0.238, allocations: 0.7257 MB / 0.9984 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.238, allocations: 0 / 0.9984 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.2383, allocations: 175.8 kB / 0.9986 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.2387, allocations: 81.77 kB / 0.9987 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.2403, allocations: 2.564 MB / 1.001 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.2405, allocations: 0.8514 MB / 1.002 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000186/0.2407, allocations: 51.33 kB / 1.002 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.2409, allocations: 183.4 kB / 1.002 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.2409, allocations: 0 / 1.002 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.2619, allocations: 9.173 MB / 1.011 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.2621, allocations: 198.3 kB / 1.011 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.392, allocations: 4 kB / 1.011 GB, free: 10.34 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)