Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 192.8 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.85/1.85, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 70.59 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3035, allocations: 114.6 MB / 0.7829 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.004232/0.3077, allocations: 2.099 MB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.3103, allocations: 1.554 MB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.3105, allocations: 8 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.3108, allocations: 63.38 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.3112, allocations: 67.52 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/0.3119, allocations: 275 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00068/0.3126, allocations: 0.6763 MB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005003/0.3131, allocations: 308.5 kB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.3133, allocations: 258.9 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.3136, allocations: 274.6 kB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.452e-05/0.3137, allocations: 72 kB / 0.7884 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.3138, allocations: 87.98 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.314, allocations: 135.5 kB / 0.7886 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.3142, allocations: 298.4 kB / 0.7889 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007783/0.315, allocations: 0.7829 MB / 0.7896 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.315, allocations: 0 / 0.7896 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.687e-06/0.315, allocations: 0 / 0.7896 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.315, allocations: 3.938 kB / 0.7896 GB, free: 6.898 MB / 0.6075 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.001582/0.3166, allocations: 0.9187 MB / 0.7905 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3167, allocations: 8.031 kB / 0.7905 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.3168, allocations: 68.19 kB / 0.7906 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005635/0.3174, allocations: 430.9 kB / 0.791 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.3174, allocations: 41.38 kB / 0.7911 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.627e-05/0.3175, allocations: 52.38 kB / 0.7911 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007713/0.3183, allocations: 467.5 kB / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3183, allocations: 4.125 kB / 0.7916 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.3184, allocations: 27.94 kB / 0.7916 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3184, allocations: 8 kB / 0.7916 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006035/0.319, allocations: 323.8 kB / 0.7919 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.321, allocations: 1.457 MB / 0.7933 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009417/0.322, allocations: 0.8645 MB / 0.7942 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.3223, allocations: 205.3 kB / 0.7944 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.3223, allocations: 4 kB / 0.7944 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005173/0.3229, allocations: 219.8 kB / 0.7946 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.683e-06/0.3229, allocations: 0 / 0.7946 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.0009219/0.3238, allocations: 488.3 kB / 0.795 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.3239, allocations: 106.8 kB / 0.7951 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/0.3243, allocations: 405.5 kB / 0.7955 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.3244, allocations: 33.7 kB / 0.7956 GB, free: 488 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.3246, allocations: 256.3 kB / 0.7958 GB, free: 228 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.774e-05/0.3247, allocations: 138 kB / 0.7959 GB, free: 88 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.3249, allocations: 90.16 kB / 0.796 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3251, allocations: 362.7 kB / 0.7964 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.3254, allocations: 162.5 kB / 0.7965 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.3258, allocations: 266.9 kB / 0.7968 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/0.3265, allocations: 395.9 kB / 0.7972 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3265, allocations: 0 / 0.7972 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000907/0.3274, allocations: 0.5199 MB / 0.7977 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.914e-05/0.3275, allocations: 44.66 kB / 0.7977 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3275, allocations: 0 / 0.7977 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.3275, allocations: 7.938 kB / 0.7977 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.3279, allocations: 83.83 kB / 0.7978 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.3279, allocations: 4 kB / 0.7978 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.3283, allocations: 91.53 kB / 0.7979 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.3284, allocations: 16 kB / 0.7979 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003462/0.3287, allocations: 265 kB / 0.7982 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002752/0.329, allocations: 233.9 kB / 0.7984 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004158/0.3294, allocations: 350.4 kB / 0.7987 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.3294, allocations: 4 kB / 0.7987 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0007155/0.3302, allocations: 482.8 kB / 0.7992 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.3302, allocations: 37.7 kB / 0.7992 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3302, allocations: 4 kB / 0.7992 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-06/0.3302, allocations: 4 kB / 0.7992 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.3305, allocations: 71.91 kB / 0.7993 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3305, allocations: 15.86 kB / 0.7993 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.3308, allocations: 71.89 kB / 0.7994 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.3309, allocations: 20 kB / 0.7994 GB, free: 12.36 MB / 0.6231 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,pulse.booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.331, allocations: 215 kB / 0.7996 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.3311, allocations: 43.44 kB / 0.7996 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.859e-05/0.3312, allocations: 48.77 kB / 0.7997 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3312, allocations: 7.938 kB / 0.7997 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3312, allocations: 4 kB / 0.7997 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3312, allocations: 3.984 kB / 0.7997 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.3325, allocations: 0.9914 MB / 0.8007 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3325, allocations: 0 / 0.8007 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.3329, allocations: 75.91 kB / 0.8007 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3329, allocations: 0 / 0.8007 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.3329, allocations: 11.98 kB / 0.8008 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3329, allocations: 0 / 0.8008 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3329, allocations: 3.938 kB / 0.8008 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3339, allocations: 0.633 MB / 0.8014 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.3341, allocations: 128.5 kB / 0.8015 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.092e-05/0.3341, allocations: 12 kB / 0.8015 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.3343, allocations: 19.97 kB / 0.8015 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.3344, allocations: 23.97 kB / 0.8015 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.3345, allocations: 15.94 kB / 0.8016 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003246/0.3348, allocations: 283.1 kB / 0.8018 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3348, allocations: 4 kB / 0.8018 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006345/0.3355, allocations: 191.3 kB / 0.802 GB, free: 9.57 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002888/0.3358, allocations: 115.2 kB / 0.8021 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.337, allocations: 0.7373 MB / 0.8029 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.3371, allocations: 4 kB / 0.8029 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.3374, allocations: 171.9 kB / 0.803 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006273/0.338, allocations: 92.33 kB / 0.8031 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.3395, allocations: 1.076 MB / 0.8042 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.3399, allocations: 0.8434 MB / 0.805 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.3401, allocations: 51.33 kB / 0.805 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.3402, allocations: 39.42 kB / 0.8051 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of SimCode: time 7.51e-07/0.3402, allocations: 0 / 0.8051 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of Templates: time 0.01033/0.3505, allocations: 5.638 MB / 0.8106 GB, free: 0.7773 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)