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.IntegratorWithReset.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.856/1.856, allocations: 288.4 MB / 303.4 MB, free: 8.121 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.00112/0.00112, allocations: 180.5 kB / 372 MB, free: 10.26 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.549/1.549, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0008732/0.0008735, allocations: 94.86 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004429, allocations: 13.66 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3132, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001088/0.3143, allocations: 0.5806 MB / 0.9802 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3158, allocations: 1.15 MB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.082e-05/0.3159, allocations: 4 kB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.316, allocations: 7.922 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.518e-05/0.3161, allocations: 15.86 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005748/0.3166, allocations: 135.1 kB / 0.9815 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.3168, allocations: 135.7 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.317, allocations: 33.08 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.3171, allocations: 47.84 kB / 0.9817 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.139e-05/0.3172, allocations: 59.8 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.3172, allocations: 8 kB / 0.9817 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.663e-05/0.3173, allocations: 19.92 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.3173, allocations: 11.98 kB / 0.9818 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.3174, allocations: 45.64 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.3176, allocations: 112 kB / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3176, allocations: 0 / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3176, allocations: 0 / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3176, allocations: 0 / 0.9819 GB, free: 25.28 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005961/0.3182, allocations: 440.7 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3182, allocations: 8.031 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.3183, allocations: 11.91 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.3188, allocations: 270.6 kB / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.3188, allocations: 11.98 kB / 0.9826 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.3189, allocations: 16 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.3191, allocations: 85.64 kB / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3191, allocations: 0 / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3191, allocations: 4 kB / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3192, allocations: 8 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.3193, allocations: 55.89 kB / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.32, allocations: 392.5 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.3201, allocations: 42.48 kB / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.878e-05/0.3202, allocations: 28.97 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3202, allocations: 7.891 kB / 0.9832 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.3205, allocations: 107.3 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.3205, allocations: 0 / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004112/0.3209, allocations: 149.4 kB / 0.9835 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.321, allocations: 59.41 kB / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.578e-05/0.3211, allocations: 148.7 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.3211, allocations: 33.7 kB / 0.9837 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.3212, allocations: 107.9 kB / 0.9838 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.3212, allocations: 27.61 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.3212, allocations: 12 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.3213, allocations: 322.8 kB / 0.9841 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.3215, allocations: 47.97 kB / 0.9842 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.3216, allocations: 135.1 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.3218, allocations: 93.61 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.3218, allocations: 4 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004382/0.3223, allocations: 250.9 kB / 0.9847 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.3223, allocations: 33.7 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3223, allocations: 0 / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3224, allocations: 8.375 kB / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3225, allocations: 31.92 kB / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3225, allocations: 7.984 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.3227, allocations: 51.81 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.3228, allocations: 12 kB / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,sampleTrigger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 9.137e-05/0.3229, allocations: 131.7 kB / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.3229, allocations: 15.86 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.3229, allocations: 8.719 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3229, allocations: 4 kB / 0.9849 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.323, allocations: 0 / 0.9849 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.323, allocations: 3.984 kB / 0.985 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.3235, allocations: 414.6 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3235, allocations: 0 / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.094e-05/0.3236, allocations: 23.92 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.3236, allocations: 96 / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3236, allocations: 3.938 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3236, allocations: 4 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3236, allocations: 0 / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.324, allocations: 259.2 kB / 0.9856 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.324, allocations: 89.02 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3241, allocations: 0 / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.3242, allocations: 8.172 kB / 0.9857 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.3242, allocations: 11.97 kB / 0.9857 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3242, allocations: 8 kB / 0.9857 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.582e-05/0.3243, allocations: 107.2 kB / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3243, allocations: 0 / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002837/0.3246, allocations: 35.91 kB / 0.9859 GB, free: 20.83 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0001794/0.3247, allocations: 113.5 kB / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003855/0.3251, allocations: 195.7 kB / 0.9862 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3252, allocations: 0 / 0.9862 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.3253, allocations: 35.98 kB / 0.9862 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.3256, allocations: 24.97 kB / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.3261, allocations: 294 kB / 0.9865 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.3263, allocations: 0.7048 MB / 0.9872 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.009e-05/0.3264, allocations: 16.64 kB / 0.9872 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.3264, allocations: 15.44 kB / 0.9872 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.3264, allocations: 4.281 kB / 0.9872 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.004161/0.3306, allocations: 1.467 MB / 0.9887 GB, free: 17.93 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)