Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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.00124/0.00124, allocations: 103 kB / 16.36 MB, free: 5.879 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.001099/0.001099, allocations: 196 kB / 17.3 MB, free: 5.52 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 65.86 kB / 0.814 GB, free: 32.82 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3201, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00235/0.3225, allocations: 0.8209 MB / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001134/0.3227, allocations: 39.78 kB / 0.952 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.3227, allocations: 0 / 0.952 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.315e-05/0.3228, allocations: 15.86 kB / 0.952 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.558e-05/0.3229, allocations: 11.88 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.814e-05/0.3229, allocations: 15.98 kB / 0.952 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.323, allocations: 59.84 kB / 0.9521 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.3232, allocations: 47.89 kB / 0.9521 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.489e-05/0.3233, allocations: 19.94 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.053e-05/0.3233, allocations: 39.72 kB / 0.9522 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.3234, allocations: 8 kB / 0.9522 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.3234, allocations: 4 kB / 0.9522 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.3234, allocations: 11.94 kB / 0.9522 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.3234, allocations: 35.8 kB / 0.9522 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3236, allocations: 71.7 kB / 0.9523 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3236, allocations: 0 / 0.9523 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3236, allocations: 0 / 0.9523 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.3236, allocations: 0 / 0.9523 GB, free: 6.879 MB / 0.7325 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.0004499/0.324, allocations: 383.1 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3241, allocations: 19.97 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.3241, allocations: 12.84 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.3243, allocations: 188.2 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3244, allocations: 8.375 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.3244, allocations: 8.359 kB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3245, allocations: 106.1 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3246, allocations: 192 / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3246, allocations: 3.938 kB / 0.953 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3246, allocations: 8 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.451e-05/0.3247, allocations: 31.98 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.3252, allocations: 436.6 kB / 0.9534 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.068e-05/0.3253, allocations: 33.16 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.3253, allocations: 29.83 kB / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.3253, allocations: 4.031 kB / 0.9535 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.3254, allocations: 30.56 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.3254, allocations: 0 / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001613/0.3255, allocations: 57.48 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.3256, allocations: 81.36 kB / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.3258, allocations: 167.2 kB / 0.9538 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.3259, allocations: 25.7 kB / 0.9538 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.326, allocations: 104 kB / 0.9539 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.247e-06/0.326, allocations: 7.906 kB / 0.954 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.326, allocations: 17.7 kB / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3262, allocations: 318.8 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.3262, allocations: 8 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.3e-05/0.3262, allocations: 21.7 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.881e-05/0.3263, allocations: 29.66 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.3263, allocations: 3.938 kB / 0.9543 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.007e-05/0.3264, allocations: 57.59 kB / 0.9544 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3264, allocations: 4 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3264, allocations: 3.938 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3264, allocations: 64 / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/0.3265, allocations: 15.94 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3265, allocations: 0 / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.3265, allocations: 7.844 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.3265, allocations: 7.938 kB / 0.9544 GB, free: 4.422 MB / 0.7325 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 0.0001584/0.3267, allocations: 116.9 kB / 0.9545 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.3267, allocations: 7.906 kB / 0.9545 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.3268, allocations: 15.8 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.3268, allocations: 4 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3268, allocations: 4 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3268, allocations: 0 / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.3272, allocations: 470.8 kB / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3272, allocations: 0 / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.865e-05/0.3272, allocations: 4 kB / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3273, allocations: 0 / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.3273, allocations: 0 / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3273, allocations: 0 / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3273, allocations: 16.05 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.567e-05/0.3274, allocations: 81.77 kB / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.3275, allocations: 93 kB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.3276, allocations: 0 / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.964e-05/0.3276, allocations: 0 / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.3276, allocations: 0 / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3276, allocations: 8.031 kB / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.654e-05/0.3277, allocations: 121.3 kB / 0.9553 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3277, allocations: 0 / 0.9553 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000187/0.3279, allocations: 4 kB / 0.9553 GB, free: 3.387 MB / 0.7325 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.0001188/0.328, allocations: 102.5 kB / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.259e-05/0.3281, allocations: 23.92 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3281, allocations: 0 / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-05/0.3281, allocations: 12.12 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.3283, allocations: 7.938 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.3286, allocations: 158.8 kB / 0.9556 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.3289, allocations: 0.7039 MB / 0.9563 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.5e-05/0.3289, allocations: 12.64 kB / 0.9563 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.3289, allocations: 11.44 kB / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.3289, allocations: 0 / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of Templates: time 0.00249/0.3314, allocations: 448.5 kB / 0.9568 GB, free: 1.855 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches