Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.00126, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.01171/0.01171, allocations: 179.3 kB / 16.26 MB, free: 6.605 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.666/1.666, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.961/2.961, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 10.56 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3795, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001215/0.3808, allocations: 347.4 kB / 1.074 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3822, allocations: 0.8061 MB / 1.075 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.3823, allocations: 0 / 1.075 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.3823, allocations: 0 / 1.075 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.493e-05/0.3825, allocations: 3.938 kB / 1.075 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.3827, allocations: 15.97 kB / 1.075 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.776e-05/0.3828, allocations: 23.88 kB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3829, allocations: 7.938 kB / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.383, allocations: 7.984 kB / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.3831, allocations: 11.94 kB / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.3831, allocations: 0 / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.3832, allocations: 0 / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.3832, allocations: 0 / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.3833, allocations: 45.61 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.699e-05/0.3833, allocations: 7.984 kB / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3834, allocations: 0 / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3834, allocations: 0 / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3834, allocations: 0 / 1.075 GB, free: 6.234 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005107/0.3839, allocations: 327.8 kB / 1.076 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.384, allocations: 12.03 kB / 1.076 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.384, allocations: 4.844 kB / 1.076 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.3842, allocations: 164.4 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.3842, allocations: 8.312 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.3843, allocations: 384 / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.3845, allocations: 34.25 kB / 1.076 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3845, allocations: 4.188 kB / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3845, allocations: 3.938 kB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3845, allocations: 4 kB / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.307e-05/0.3846, allocations: 23.97 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.3848, allocations: 149.7 kB / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.882e-05/0.3849, allocations: 30.48 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.385, allocations: 24.91 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.385, allocations: 0 / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.3851, allocations: 30.56 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.3851, allocations: 0 / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002508/0.3853, allocations: 61.62 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.3854, allocations: 55.53 kB / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3855, allocations: 101.8 kB / 1.076 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3855, allocations: 25.7 kB / 1.076 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.3856, allocations: 84.14 kB / 1.076 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.3856, allocations: 3.906 kB / 1.077 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.3856, allocations: 9.719 kB / 1.077 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3858, allocations: 322.8 kB / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.745e-05/0.3859, allocations: 12 kB / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.571e-05/0.3859, allocations: 7.984 kB / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.986e-05/0.386, allocations: 24.86 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.386, allocations: 0 / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001243/0.3861, allocations: 53.73 kB / 1.077 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3862, allocations: 4 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3862, allocations: 7.875 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3862, allocations: 0 / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.514e-05/0.3863, allocations: 4 kB / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3863, allocations: 0 / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.686e-05/0.3863, allocations: 7.938 kB / 1.077 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3864, allocations: 3.984 kB / 1.077 GB, free: 4.43 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 (1): * Single equations (assignments): 1 * 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.188e-05/0.3865, allocations: 117.9 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.3865, allocations: 0 / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.3865, allocations: 7.062 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3865, allocations: 0 / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3865, allocations: 0 / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3865, allocations: 0 / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.3866, allocations: 153.7 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3867, allocations: 0 / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.3867, allocations: 8.234 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.3867, allocations: 0 / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3867, allocations: 11.88 kB / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3867, allocations: 8 kB / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3867, allocations: 0 / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.3869, allocations: 73.03 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.387, allocations: 77.11 kB / 1.077 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.387, allocations: 7.922 kB / 1.077 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.129e-05/0.387, allocations: 8.031 kB / 1.077 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.3871, allocations: 3.938 kB / 1.077 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3871, allocations: 0 / 1.077 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.3871, allocations: 87.27 kB / 1.077 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3871, allocations: 0 / 1.077 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001758/0.3873, allocations: 4 kB / 1.077 GB, free: 3.777 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 (1): * Single equations (assignments): 1 * 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.0001633/0.3875, allocations: 95.25 kB / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.3876, allocations: 27.98 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3876, allocations: 0 / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.589e-05/0.3877, allocations: 8 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.3878, allocations: 0.9375 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.3881, allocations: 124.7 kB / 1.078 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.3884, allocations: 0.677 MB / 1.078 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.497e-05/0.3885, allocations: 0 / 1.078 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.3885, allocations: 7.438 kB / 1.078 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3885, allocations: 0 / 1.078 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of Templates: time 0.002904/0.3914, allocations: 244.8 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1)