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.001295/0.001295, allocations: 103.5 kB / 16.36 MB, free: 6.305 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.001287/0.001287, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.438/1.438, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.898/1.898, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001361/0.001361, allocations: 67.91 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2587, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001981/0.2607, allocations: 0.6907 MB / 0.7855 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009949/0.2617, allocations: 0.875 MB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.2618, allocations: 4 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.2618, allocations: 3.938 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.694e-05/0.2619, allocations: 11.86 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.262, allocations: 19.91 kB / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.565e-05/0.2621, allocations: 39.92 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.365e-05/0.2621, allocations: 7.984 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.2622, allocations: 23.94 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.515e-05/0.2622, allocations: 19.91 kB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.2622, allocations: 4 kB / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.2623, allocations: 4 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.2623, allocations: 4 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.2623, allocations: 27.84 kB / 0.7865 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 6.201e-05/0.2624, allocations: 43.86 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2624, allocations: 0 / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.51e-07/0.2624, allocations: 3.938 kB / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.2624, allocations: 0 / 0.7865 GB, free: 1.344 MB / 0.6544 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.0004131/0.2628, allocations: 359.4 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.502e-05/0.2629, allocations: 12.03 kB / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.064e-05/0.2629, allocations: 8.828 kB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.263, allocations: 168.3 kB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.263, allocations: 4.375 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.263, allocations: 384 / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.2632, allocations: 70.22 kB / 0.7871 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-06/0.2632, allocations: 4.188 kB / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-06/0.2633, allocations: 7.875 kB / 0.7871 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-06/0.2633, allocations: 0 / 0.7871 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.2636, allocations: 67.86 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.2639, allocations: 264.9 kB / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.2641, allocations: 62.47 kB / 0.7875 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.2642, allocations: 36.92 kB / 0.7876 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.2642, allocations: 0 / 0.7876 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.2643, allocations: 38.5 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2643, allocations: 4 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.4589/0.7232, allocations: 128.6 kB / 0.7877 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.7233, allocations: 51.41 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.7234, allocations: 105.9 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.7234, allocations: 30.52 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.7234, allocations: 86.22 kB / 0.788 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.7235, allocations: 10.25 kB / 0.788 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.7235, allocations: 14.25 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.929e-05/0.7236, allocations: 322.4 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.7237, allocations: 31.28 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.7238, allocations: 32.17 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.7241, allocations: 70.28 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7241, allocations: 1.5 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003209/0.7245, allocations: 97.48 kB / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.7245, allocations: 8.406 kB / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.7245, allocations: 3.328 kB / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.7245, allocations: 3.75 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.7247, allocations: 13.66 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.7247, allocations: 0 / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.8e-05/0.7248, allocations: 14.58 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.7248, allocations: 9.281 kB / 0.7886 GB, free: 48.27 MB / 0.6544 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 5.665e-05/0.7248, allocations: 109.2 kB / 0.7887 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.7249, allocations: 3.5 kB / 0.7887 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.7249, allocations: 15.72 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.7249, allocations: 0 / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.7249, allocations: 4.5 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7249, allocations: 0 / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.7251, allocations: 174 kB / 0.7889 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7251, allocations: 0 / 0.7889 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.018e-05/0.7252, allocations: 15.25 kB / 0.7889 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.7252, allocations: 1.938 kB / 0.7889 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.7252, allocations: 7.688 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.7252, allocations: 2.719 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.7252, allocations: 3 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.7255, allocations: 194.8 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.7256, allocations: 80.83 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.7256, allocations: 14.03 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.7257, allocations: 12.31 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.7257, allocations: 4.125 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.7258, allocations: 2.875 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.962e-05/0.7258, allocations: 84.91 kB / 0.7893 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7258, allocations: 2.906 kB / 0.7893 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002141/0.726, allocations: 7.75 kB / 0.7893 GB, free: 47.65 MB / 0.6544 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.0001196/0.7261, allocations: 101.1 kB / 0.7894 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003306/0.7265, allocations: 69.25 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7265, allocations: 0 / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.7266, allocations: 38.2 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.7269, allocations: 9.891 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.7272, allocations: 148.6 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.7274, allocations: 0.6873 MB / 0.7903 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.7274, allocations: 10.88 kB / 0.7903 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.7274, allocations: 0 / 0.7903 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.001845/0.7293, allocations: 0.7384 MB / 0.791 GB, free: 46.73 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (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)