Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001236/0.001236, allocations: 108 kB / 15.61 MB, free: 152 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.001545/0.001545, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 60.55 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.368, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002028/0.3701, allocations: 0.6625 MB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000879/0.371, allocations: 0.8139 MB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.3711, allocations: 0 / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.3711, allocations: 0 / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.113e-05/0.3712, allocations: 7.922 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.3713, allocations: 12 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.144e-05/0.3714, allocations: 23.92 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3715, allocations: 4 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.537e-05/0.3716, allocations: 15.92 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.669e-05/0.3716, allocations: 8 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.3716, allocations: 4 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.3717, allocations: 7.938 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.3717, allocations: 11.91 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.3717, allocations: 7.938 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.654e-05/0.3718, allocations: 19.97 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3718, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3718, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3718, allocations: 0 / 1.07 GB, free: 8.812 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.0004512/0.3723, allocations: 339.7 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3723, allocations: 12.03 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.3724, allocations: 4.938 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.3725, allocations: 168.3 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3725, allocations: 384 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.3725, allocations: 4.375 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.3727, allocations: 46.23 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3727, allocations: 4.188 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3728, allocations: 3.938 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3728, allocations: 3.938 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.3729, allocations: 31.97 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.3733, allocations: 248.9 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.3734, allocations: 42.48 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.972e-05/0.3735, allocations: 24.91 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.3735, allocations: 0 / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.3736, allocations: 30.56 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.3736, allocations: 0 / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003577/0.3739, allocations: 89.48 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.374, allocations: 51.53 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.598e-05/0.374, allocations: 109.8 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.3741, allocations: 25.7 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.3741, allocations: 80.14 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.3741, allocations: 3.906 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.3742, allocations: 17.72 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3743, allocations: 314.8 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.3744, allocations: 11.98 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.3745, allocations: 23.98 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3746, allocations: 32.83 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3746, allocations: 0 / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001923/0.3748, allocations: 73.53 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3748, allocations: 4.094 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3749, allocations: 8 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3749, allocations: 192 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-05/0.375, allocations: 7.984 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.375, allocations: 0 / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.375, allocations: 11.98 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.375, allocations: 7.922 kB / 1.072 GB, free: 6.785 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 7.531e-05/0.3751, allocations: 117.8 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.3752, allocations: 0 / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.3754, allocations: 80.72 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3754, allocations: 0 / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3754, allocations: 0 / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3754, allocations: 0 / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.3756, allocations: 161.6 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3756, allocations: 0 / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.977e-05/0.3756, allocations: 15.92 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3757, allocations: 0 / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.3757, allocations: 4.031 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3757, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3757, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.3759, allocations: 163.4 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.376, allocations: 77.11 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.376, allocations: 4 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.3761, allocations: 12.02 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.3761, allocations: 4 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3761, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.905e-05/0.3762, allocations: 83.22 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3762, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002258/0.3764, allocations: 7.938 kB / 1.072 GB, free: 5.969 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.0001566/0.3766, allocations: 103.8 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.3768, allocations: 35.97 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3768, allocations: 0 / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.3769, allocations: 15.98 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.3772, allocations: 18.98 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.3775, allocations: 122.1 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.3778, allocations: 0.6729 MB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.263e-05/0.3778, allocations: 0 / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.3778, allocations: 7.438 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3778, allocations: 0 / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of Templates: time 0.00253/0.3804, allocations: 437.3 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1)