Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008615/0.0008614, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.007546/0.007546, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.783/1.783, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.918/1.918, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0006106/0.0006105, allocations: 18.5 kB / 0.6743 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3073, allocations: 116.3 MB / 0.7879 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001021/0.3083, allocations: 434.5 kB / 0.7883 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.3094, allocations: 0.8672 MB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/0.3094, allocations: 0 / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.3094, allocations: 3.984 kB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.525e-05/0.3095, allocations: 3.938 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.3097, allocations: 23.98 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.084e-05/0.3098, allocations: 39.86 kB / 0.7892 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3099, allocations: 7.984 kB / 0.7892 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.927e-05/0.31, allocations: 19.92 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.818e-05/0.3101, allocations: 15.92 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.3101, allocations: 4 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.3101, allocations: 0 / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.3101, allocations: 7.984 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.3102, allocations: 45.58 kB / 0.7893 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.324e-05/0.3103, allocations: 39.84 kB / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3103, allocations: 0 / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3103, allocations: 0 / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.3103, allocations: 0 / 0.7894 GB, free: 9.996 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005349/0.3108, allocations: 367.7 kB / 0.7897 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3109, allocations: 8.031 kB / 0.7897 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.3109, allocations: 8.844 kB / 0.7897 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.3111, allocations: 172.3 kB / 0.7899 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3111, allocations: 4.375 kB / 0.7899 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.3111, allocations: 384 / 0.7899 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.3114, allocations: 86.16 kB / 0.79 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3114, allocations: 192 / 0.79 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3114, allocations: 3.938 kB / 0.79 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3114, allocations: 0 / 0.79 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.3117, allocations: 87.92 kB / 0.7901 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.3121, allocations: 268.9 kB / 0.7903 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.3124, allocations: 74.41 kB / 0.7904 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.3126, allocations: 56.92 kB / 0.7905 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3126, allocations: 0 / 0.7905 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.3126, allocations: 30.56 kB / 0.7905 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3126, allocations: 3.938 kB / 0.7905 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0006047/0.3132, allocations: 161.6 kB / 0.7906 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.3133, allocations: 55.41 kB / 0.7907 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3134, allocations: 113.7 kB / 0.7908 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3134, allocations: 25.7 kB / 0.7908 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.3135, allocations: 88.14 kB / 0.7909 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.3135, allocations: 7.812 kB / 0.7909 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.3136, allocations: 17.7 kB / 0.7909 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3137, allocations: 314.8 kB / 0.7912 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.3138, allocations: 39.97 kB / 0.7913 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.314, allocations: 47.95 kB / 0.7913 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.3143, allocations: 92.78 kB / 0.7914 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.3143, allocations: 3.938 kB / 0.7914 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003387/0.3147, allocations: 117.9 kB / 0.7915 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3147, allocations: 4 kB / 0.7915 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3147, allocations: 3.938 kB / 0.7915 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3147, allocations: 4.031 kB / 0.7915 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.3149, allocations: 19.98 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3149, allocations: 0 / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.636e-05/0.315, allocations: 23.97 kB / 0.7916 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.315, allocations: 4 kB / 0.7916 GB, free: 7.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 9.175e-05/0.3151, allocations: 113.8 kB / 0.7917 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.3151, allocations: 3.906 kB / 0.7917 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.3152, allocations: 11.91 kB / 0.7917 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3152, allocations: 0 / 0.7917 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3152, allocations: 4 kB / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3152, allocations: 0 / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.3154, allocations: 177.5 kB / 0.7919 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3154, allocations: 0 / 0.7919 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.3155, allocations: 19.98 kB / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.3156, allocations: 0 / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3156, allocations: 0 / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3156, allocations: 0 / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3156, allocations: 0 / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.316, allocations: 224.4 kB / 0.7921 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.316, allocations: 85.02 kB / 0.7922 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.3161, allocations: 7.938 kB / 0.7922 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3162, allocations: 15.98 kB / 0.7922 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.3162, allocations: 3.984 kB / 0.7922 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3162, allocations: 4 kB / 0.7922 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.602e-05/0.3163, allocations: 87.28 kB / 0.7923 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3163, allocations: 0 / 0.7923 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002109/0.3165, allocations: 8 kB / 0.7923 GB, free: 6.652 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001582/0.3167, allocations: 99.23 kB / 0.7924 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003629/0.3171, allocations: 91.92 kB / 0.7925 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3171, allocations: 3.938 kB / 0.7925 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.3172, allocations: 51.91 kB / 0.7925 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.3176, allocations: 22.81 kB / 0.7926 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.318, allocations: 124.7 kB / 0.7927 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.3182, allocations: 0.6848 MB / 0.7934 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.3183, allocations: 4 kB / 0.7934 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.3183, allocations: 7.438 kB / 0.7934 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.3183, allocations: 0 / 0.7934 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of Templates: time 0.002662/0.321, allocations: 0.5847 MB / 0.7939 GB, free: 4.938 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) Environment - environmentSimulation: