Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 193.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 71.28 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3657, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002932/0.3687, allocations: 0.6613 MB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3701, allocations: 0.8139 MB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.3701, allocations: 0 / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.3702, allocations: 7.938 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.3703, allocations: 0 / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.3705, allocations: 23.91 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.941e-05/0.3706, allocations: 19.98 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3707, allocations: 4 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/0.3708, allocations: 15.88 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.3708, allocations: 11.98 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.3709, allocations: 0 / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.3709, allocations: 7.938 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.3709, allocations: 4 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.3709, allocations: 11.92 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.003e-05/0.371, allocations: 19.95 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3711, allocations: 0 / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3711, allocations: 4 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3711, allocations: 0 / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005207/0.3716, allocations: 339.7 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.3717, allocations: 8.031 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.3717, allocations: 4.938 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.3719, allocations: 164.4 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3719, allocations: 384 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.3719, allocations: 384 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.3721, allocations: 50.23 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.3721, allocations: 192 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.3722, allocations: 3.938 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3722, allocations: 11.88 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.3724, allocations: 31.95 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.3728, allocations: 245 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.3729, allocations: 38.5 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.373, allocations: 28.89 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3731, allocations: 0 / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.3733, allocations: 38.5 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.3733, allocations: 0 / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003666/0.3736, allocations: 89.48 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.3737, allocations: 51.41 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.3739, allocations: 97.86 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3739, allocations: 29.83 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.374, allocations: 88.12 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.374, allocations: 3.906 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.374, allocations: 17.72 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002541/0.3743, allocations: 310.8 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.691e-05/0.3744, allocations: 11.98 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.76e-05/0.3745, allocations: 23.97 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.3746, allocations: 40.83 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3746, allocations: 0 / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001983/0.3748, allocations: 69.59 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3749, allocations: 5.406 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3749, allocations: 4 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3749, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.705e-05/0.375, allocations: 16.02 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.375, allocations: 0 / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.3751, allocations: 4 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3751, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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 8.91e-05/0.3752, allocations: 122.4 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.3752, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.3754, allocations: 72.72 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3754, allocations: 4.188 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3754, allocations: 0 / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3755, allocations: 3.984 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.3757, allocations: 157.6 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3757, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.3758, allocations: 15.92 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.3758, allocations: 4 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3758, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3758, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3758, allocations: 4.031 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.3761, allocations: 167.3 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.3762, allocations: 77.11 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3762, allocations: 3.984 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.3763, allocations: 8 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.3763, allocations: 4.031 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-06/0.3763, allocations: 7.984 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.317e-05/0.3764, allocations: 79.28 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3764, allocations: 0 / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002147/0.3766, allocations: 3.938 kB / 1.072 GB, free: 5.945 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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.0001758/0.3768, allocations: 106.1 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.377, allocations: 43.95 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.377, allocations: 0 / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.668e-05/0.3771, allocations: 19.92 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.3775, allocations: 7.938 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.3779, allocations: 110 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.3785, allocations: 0.6847 MB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.3786, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.3786, allocations: 7.438 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of SimCode: time 6.82e-07/0.3786, allocations: 0 / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.002583/0.3812, allocations: 434.1 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1)