Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0019/0.0019, allocations: 192.5 kB / 16.14 MB, free: 6.688 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.674/1.674, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.124/3.124, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002481/0.002481, allocations: 64.31 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4154, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002252/0.4177, allocations: 0.7814 MB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.4193, allocations: 1.151 MB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.4194, allocations: 0 / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.4194, allocations: 3.938 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.102e-05/0.4195, allocations: 15.94 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.4199, allocations: 115.2 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.4201, allocations: 107.8 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.524e-05/0.4202, allocations: 8 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.974e-05/0.4203, allocations: 39.91 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.345e-05/0.4204, allocations: 31.78 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.4204, allocations: 4 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.567e-05/0.4205, allocations: 19.98 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.4205, allocations: 19.97 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.4206, allocations: 27.86 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.4208, allocations: 127.6 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4208, allocations: 3.938 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4208, allocations: 0 / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.4208, allocations: 0 / 1.07 GB, free: 8.457 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007143/0.4215, allocations: 401.2 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.4216, allocations: 12.03 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.4217, allocations: 4.938 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.4219, allocations: 176.2 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.4219, allocations: 8.375 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.4219, allocations: 4.375 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.4221, allocations: 50.23 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4221, allocations: 4.172 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.4221, allocations: 3.938 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4221, allocations: 0 / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.664e-05/0.4222, allocations: 12 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.4227, allocations: 340.7 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.416e-05/0.4228, allocations: 34.52 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.4228, allocations: 16.84 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.4228, allocations: 0 / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.423, allocations: 63.39 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.423, allocations: 0 / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002096/0.4232, allocations: 77.62 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.4233, allocations: 51.41 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.4234, allocations: 129.7 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.4234, allocations: 29.7 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/0.4235, allocations: 88.14 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.4235, allocations: 7.906 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.4236, allocations: 33.69 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4237, allocations: 314.8 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.842e-05/0.4238, allocations: 43.92 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.4239, allocations: 58.55 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.424, allocations: 96.22 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4241, allocations: 3.984 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002793/0.4243, allocations: 159.2 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.4244, allocations: 41.77 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4244, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4244, allocations: 4 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.283e-05/0.4245, allocations: 0 / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4245, allocations: 0 / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.4247, allocations: 35.95 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.4247, allocations: 4 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001086/0.4248, allocations: 129.7 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.4249, allocations: 7.906 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.4249, allocations: 7.891 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.4249, allocations: 0 / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.4249, allocations: 4 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4249, allocations: 0 / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.4251, allocations: 173.6 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4251, allocations: 0 / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-05/0.4251, allocations: 7.984 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.4251, allocations: 0 / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.4251, allocations: 0 / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4251, allocations: 4 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4251, allocations: 0 / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.4253, allocations: 89.3 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.4253, allocations: 89.03 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.4254, allocations: 7.938 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.751e-05/0.4254, allocations: 0 / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.4254, allocations: 0 / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.4254, allocations: 4 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.025e-05/0.4255, allocations: 99.27 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.583e-06/0.4255, allocations: 0 / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002059/0.4257, allocations: 23.94 kB / 1.073 GB, free: 5.188 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: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001927/0.4259, allocations: 107.2 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.4261, allocations: 131.4 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4262, allocations: 3.938 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.018e-05/0.4262, allocations: 16 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.4265, allocations: 24.81 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.4268, allocations: 151.8 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.427, allocations: 0.6809 MB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.746e-05/0.4271, allocations: 11.98 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.4271, allocations: 7.438 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.4271, allocations: 4 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of Templates: time 0.003585/0.4307, allocations: 1.286 MB / 1.075 GB, free: 2.719 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1)