Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, 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.001393/0.001393, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.684/1.684, allocations: 251.7 MB / 0.5092 GB, free: 3.203 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002732/0.002732, allocations: 64.47 kB / 0.6223 GB, free: 1.535 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7128/0.7155, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002324/0.7179, allocations: 0.8549 MB / 0.7254 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001283/0.718, allocations: 51.78 kB / 0.7254 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.7181, allocations: 0 / 0.7254 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.895e-05/0.7181, allocations: 7.875 kB / 0.7254 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.617e-05/0.7182, allocations: 23.73 kB / 0.7254 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.98e-05/0.7183, allocations: 15.98 kB / 0.7255 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.7184, allocations: 67.84 kB / 0.7255 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.7186, allocations: 37.38 kB / 0.7256 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.407e-05/0.7186, allocations: 31.86 kB / 0.7256 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.7187, allocations: 39.72 kB / 0.7256 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.7187, allocations: 4 kB / 0.7256 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.7187, allocations: 8 kB / 0.7256 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.7188, allocations: 19.92 kB / 0.7257 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.7188, allocations: 39.73 kB / 0.7257 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.7189, allocations: 77.67 kB / 0.7258 GB, free: 11.67 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.7189, allocations: 0 / 0.7258 GB, free: 11.67 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.719, allocations: 0 / 0.7258 GB, free: 11.67 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.719, allocations: 0 / 0.7258 GB, free: 11.67 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004411/0.7194, allocations: 399 kB / 0.7261 GB, free: 11.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.7195, allocations: 12.03 kB / 0.7262 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.7195, allocations: 8.844 kB / 0.7262 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.7197, allocations: 200.1 kB / 0.7264 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.7197, allocations: 4.281 kB / 0.7264 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.7197, allocations: 12.38 kB / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.7199, allocations: 97.97 kB / 0.7265 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.7199, allocations: 192 / 0.7265 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.7199, allocations: 11.94 kB / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.7199, allocations: 0 / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.76e-05/0.72, allocations: 39.92 kB / 0.7265 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.7206, allocations: 440.5 kB / 0.7269 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.586e-05/0.7206, allocations: 53.34 kB / 0.727 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.7207, allocations: 9.719 kB / 0.727 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.7207, allocations: 4.062 kB / 0.727 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.7207, allocations: 34.56 kB / 0.727 GB, free: 10.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7207, allocations: 0 / 0.727 GB, free: 10.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001819/0.7209, allocations: 65.47 kB / 0.7271 GB, free: 10.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.721, allocations: 77.11 kB / 0.7272 GB, free: 10.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.7211, allocations: 169.5 kB / 0.7273 GB, free: 9.844 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.7212, allocations: 25.7 kB / 0.7274 GB, free: 9.812 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.7212, allocations: 104 kB / 0.7275 GB, free: 9.707 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.7213, allocations: 7.906 kB / 0.7275 GB, free: 9.699 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.7213, allocations: 25.64 kB / 0.7275 GB, free: 9.668 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.7214, allocations: 319.1 kB / 0.7278 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.7215, allocations: 11.92 kB / 0.7278 GB, free: 9.336 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.7215, allocations: 21.72 kB / 0.7278 GB, free: 9.309 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.274e-05/0.7215, allocations: 25.72 kB / 0.7278 GB, free: 9.277 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7215, allocations: 0 / 0.7278 GB, free: 9.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.555e-05/0.7216, allocations: 61.59 kB / 0.7279 GB, free: 9.211 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.7217, allocations: 11.94 kB / 0.7279 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.7217, allocations: 3.938 kB / 0.7279 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.7217, allocations: 4 kB / 0.7279 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.7218, allocations: 4.094 kB / 0.7279 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.7218, allocations: 0 / 0.7279 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.7218, allocations: 15.84 kB / 0.7279 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.7218, allocations: 3.984 kB / 0.7279 GB, free: 9.168 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.174e-05/0.7219, allocations: 113.8 kB / 0.7281 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.722, allocations: 7.906 kB / 0.7281 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.722, allocations: 24.48 kB / 0.7281 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.722, allocations: 3.938 kB / 0.7281 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.722, allocations: 0 / 0.7281 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.722, allocations: 4 kB / 0.7281 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.7224, allocations: 478.7 kB / 0.7285 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.7224, allocations: 3.938 kB / 0.7286 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.7224, allocations: 4 kB / 0.7286 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7224, allocations: 4.062 kB / 0.7286 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.7225, allocations: 4 kB / 0.7286 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7225, allocations: 0 / 0.7286 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7225, allocations: 0 / 0.7286 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.905e-05/0.7226, allocations: 85.83 kB / 0.7286 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.7226, allocations: 81.02 kB / 0.7287 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.7226, allocations: 8.031 kB / 0.7287 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.7227, allocations: 4 kB / 0.7287 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.7227, allocations: 3.984 kB / 0.7287 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.7227, allocations: 3.938 kB / 0.7287 GB, free: 8.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.513e-05/0.7228, allocations: 132.9 kB / 0.7289 GB, free: 8.113 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7228, allocations: 0 / 0.7289 GB, free: 8.113 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001876/0.723, allocations: 8 kB / 0.7289 GB, free: 8.105 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001244/0.7231, allocations: 99.25 kB / 0.729 GB, free: 7.996 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.026e-05/0.7232, allocations: 24 kB / 0.729 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7232, allocations: 0 / 0.729 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.556e-05/0.7232, allocations: 11.92 kB / 0.729 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.7234, allocations: 12.69 kB / 0.729 GB, free: 7.949 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.7237, allocations: 174.3 kB / 0.7292 GB, free: 7.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.724, allocations: 0.6963 MB / 0.7299 GB, free: 7.027 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.724, allocations: 16.3 kB / 0.7299 GB, free: 7.012 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.7241, allocations: 15.44 kB / 0.7299 GB, free: 6.996 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.7241, allocations: 0 / 0.7299 GB, free: 6.996 MB / 0.545 GB Notification: Performance of Templates: time 0.002702/0.7268, allocations: 479.6 kB / 0.7304 GB, free: 6.531 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)