Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",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.698/2.698, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001493/0.001493, allocations: 178.1 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.146/2.146, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001155/0.001155, allocations: 93.53 kB / 0.7428 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005071/0.0005074, allocations: 18.91 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2225, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.00261/0.2252, allocations: 1.68 MB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002932/0.2282, allocations: 1.581 MB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003815/0.2286, allocations: 11.94 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.415e-05/0.2287, allocations: 31.59 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.2292, allocations: 100.8 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.2304, allocations: 313.4 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008604/0.2313, allocations: 429.2 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.2318, allocations: 246.5 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.2321, allocations: 199.2 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.2324, allocations: 210.8 kB / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.446e-05/0.2324, allocations: 20 kB / 0.983 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.2326, allocations: 35.98 kB / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.384e-05/0.2327, allocations: 83.58 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.2328, allocations: 117.4 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007289/0.2336, allocations: 0.6586 MB / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2336, allocations: 0 / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2336, allocations: 0 / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.2336, allocations: 8 kB / 0.9839 GB, free: 22.6 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001994/0.2356, allocations: 0.8891 MB / 0.9847 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.2357, allocations: 16.02 kB / 0.9847 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.2358, allocations: 90.52 kB / 0.9848 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.236, allocations: 71.16 kB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00075/0.2368, allocations: 429.8 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/0.2369, allocations: 48.92 kB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.237, allocations: 56 kB / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.2382, allocations: 499 kB / 0.9859 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.2383, allocations: 0 / 0.9859 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/0.2383, allocations: 20 kB / 0.9859 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.2384, allocations: 12 kB / 0.9859 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.2394, allocations: 359.8 kB / 0.9862 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.2427, allocations: 1.586 MB / 0.9878 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.2441, allocations: 0.9026 MB / 0.9887 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/0.2442, allocations: 4 kB / 0.9887 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007234/0.245, allocations: 256.9 kB / 0.9889 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 4.037e-06/0.245, allocations: 4 kB / 0.9889 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.001675/0.2467, allocations: 0.5532 MB / 0.9895 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.2468, allocations: 107.2 kB / 0.9896 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/0.2474, allocations: 413.9 kB / 0.99 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.2475, allocations: 37.7 kB / 0.99 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.2477, allocations: 265 kB / 0.9903 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.2479, allocations: 157.8 kB / 0.9904 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.088e-05/0.248, allocations: 12 kB / 0.9904 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2481, allocations: 362.8 kB / 0.9908 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006456/0.2488, allocations: 189 kB / 0.9909 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.2495, allocations: 291.3 kB / 0.9912 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.2501, allocations: 268.2 kB / 0.9915 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2502, allocations: 0 / 0.9915 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001725/0.2519, allocations: 0.6277 MB / 0.9921 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002414/0.2522, allocations: 0.6837 MB / 0.9928 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.2522, allocations: 4 kB / 0.9928 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.2522, allocations: 4 kB / 0.9928 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/0.2529, allocations: 87.89 kB / 0.9929 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.2529, allocations: 3.938 kB / 0.9929 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.254, allocations: 139.4 kB / 0.993 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.169e-05/0.2541, allocations: 27.98 kB / 0.993 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2541, allocations: 4 kB / 0.993 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001286/0.2554, allocations: 0.5289 MB / 0.9935 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2554, allocations: 0 / 0.9935 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.2555, allocations: 4 kB / 0.9935 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/0.256, allocations: 80.06 kB / 0.9936 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.256, allocations: 15.89 kB / 0.9936 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000955/0.257, allocations: 117.4 kB / 0.9937 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/0.2571, allocations: 23.98 kB / 0.9938 GB, free: 11.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0003856/0.2575, allocations: 258.9 kB / 0.994 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/0.2576, allocations: 47.44 kB / 0.9941 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.2577, allocations: 49.19 kB / 0.9941 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.2578, allocations: 12 kB / 0.9941 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.2578, allocations: 3.953 kB / 0.9941 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.2578, allocations: 3.984 kB / 0.9941 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.2599, allocations: 1.088 MB / 0.9952 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.2599, allocations: 3.984 kB / 0.9952 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006608/0.2606, allocations: 87.78 kB / 0.9953 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.2606, allocations: 0 / 0.9953 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.2607, allocations: 12 kB / 0.9953 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.2607, allocations: 4 kB / 0.9953 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.2607, allocations: 0 / 0.9953 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.2624, allocations: 0.7091 MB / 0.996 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.2626, allocations: 136.4 kB / 0.9961 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/0.2627, allocations: 11.95 kB / 0.9961 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.2631, allocations: 35.97 kB / 0.9962 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.2632, allocations: 28.41 kB / 0.9962 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.2632, allocations: 11.98 kB / 0.9962 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004124/0.2637, allocations: 287.2 kB / 0.9965 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2637, allocations: 0 / 0.9965 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009196/0.2646, allocations: 211.3 kB / 0.9967 GB, free: 8.848 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: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * 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.001972/0.2666, allocations: 1.281 MB / 0.9979 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002147/0.2688, allocations: 0.9578 MB / 0.9989 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.2688, allocations: 0 / 0.9989 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005643/0.2694, allocations: 199 kB / 0.999 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008601/0.2703, allocations: 92.03 kB / 0.9991 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.2732, allocations: 2.375 MB / 1.001 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.2736, allocations: 0.8671 MB / 1.002 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000357/0.2739, allocations: 55.44 kB / 1.002 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.2743, allocations: 199.4 kB / 1.003 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of SimCode: time 1.713e-06/0.2743, allocations: 0 / 1.003 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04251/0.3169, allocations: 10.7 MB / 1.013 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003669/0.3173, allocations: 205.6 kB / 1.013 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/3.303, allocations: 0 / 1.013 GB, free: 7.945 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)