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.001109/0.001109, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001173/0.001173, allocations: 191 kB / 16.25 MB, free: 6.625 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.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 69.3 kB / 0.9116 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4233, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002169/0.4255, allocations: 0.6703 MB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.4266, allocations: 0.8061 MB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.402e-05/0.4266, allocations: 0 / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.4267, allocations: 0 / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.226e-05/0.4267, allocations: 11.94 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.4269, allocations: 4 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.013e-05/0.427, allocations: 23.92 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.657e-05/0.4271, allocations: 4 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.467e-05/0.4272, allocations: 15.92 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.4272, allocations: 3.984 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.4273, allocations: 4 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-06/0.4273, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.4273, allocations: 4 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.4273, allocations: 11.94 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.198e-05/0.4274, allocations: 23.89 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4274, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4274, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.4275, allocations: 0 / 1.069 GB, free: 9.16 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.0004937/0.428, allocations: 327.7 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.428, allocations: 8.031 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.4281, allocations: 4.938 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.4282, allocations: 164.3 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.4282, allocations: 4.375 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.4282, allocations: 384 / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.4284, allocations: 42.23 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.4284, allocations: 192 / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.4284, allocations: 3.938 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.4284, allocations: 4 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.881e-05/0.4285, allocations: 15.98 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.4287, allocations: 153.7 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.237e-05/0.4288, allocations: 30.5 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.4288, allocations: 8.922 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.4288, allocations: 0 / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4289, allocations: 38.56 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.4289, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002337/0.4291, allocations: 65.61 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.4291, allocations: 51.41 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.05e-05/0.4292, allocations: 101.8 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.4293, allocations: 25.7 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.4293, allocations: 88.08 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.4293, allocations: 0 / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.4294, allocations: 9.719 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4295, allocations: 318.8 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-05/0.4296, allocations: 16.02 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.4296, allocations: 7.938 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.777e-05/0.4297, allocations: 20.84 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4297, allocations: 0 / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001131/0.4298, allocations: 41.69 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4298, allocations: 7.984 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4298, allocations: 8.031 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4299, allocations: 4 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.4299, allocations: 3.938 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.43, allocations: 4 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.43, allocations: 0 / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.43, allocations: 4 kB / 1.071 GB, free: 7.383 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 7.38e-05/0.4301, allocations: 113.8 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.4301, allocations: 3.906 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.4301, allocations: 7.062 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4301, allocations: 4 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4301, allocations: 0 / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.4301, allocations: 0 / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.4303, allocations: 153.7 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4303, allocations: 0 / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.4304, allocations: 4 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4304, allocations: 3.984 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.4304, allocations: 3.938 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4304, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4304, allocations: 256 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.4305, allocations: 73.12 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.4306, allocations: 81.05 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.4306, allocations: 7.938 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.067e-05/0.4307, allocations: 7.984 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.4307, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.4307, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.4308, allocations: 83.28 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4308, allocations: 4.031 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001763/0.431, allocations: 4 kB / 1.071 GB, free: 6.742 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.0001811/0.4311, allocations: 99.23 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.4313, allocations: 19.98 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.4313, allocations: 0 / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.598e-05/0.4313, allocations: 7.938 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.4315, allocations: 6.016 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.4318, allocations: 115.8 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.4321, allocations: 0.6806 MB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.4321, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.4321, allocations: 7.438 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of SimCode: time 1.91e-07/0.4321, allocations: 0 / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of Templates: time 0.002301/0.4345, allocations: 260.8 kB / 1.072 GB, free: 5.492 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)