Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001898/0.001898, allocations: 200.7 kB / 16.91 MB, free: 6.195 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.2 MB / 0.665 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.89 kB / 0.8127 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6206/0.622, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.00179/0.6238, allocations: 0.8809 MB / 0.9506 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.279e-05/0.624, allocations: 40.38 kB / 0.9507 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.624, allocations: 5.312 kB / 0.9507 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.245e-05/0.6241, allocations: 7.875 kB / 0.9507 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.701e-05/0.6241, allocations: 5.688 kB / 0.9507 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.199e-05/0.6242, allocations: 19.83 kB / 0.9507 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.847e-05/0.6243, allocations: 54.91 kB / 0.9508 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.6244, allocations: 48.39 kB / 0.9508 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.597e-05/0.6245, allocations: 28.39 kB / 0.9508 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.739e-05/0.6245, allocations: 32.58 kB / 0.9509 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.6245, allocations: 5.562 kB / 0.9509 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.6246, allocations: 6.219 kB / 0.9509 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.6246, allocations: 18.02 kB / 0.9509 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.6246, allocations: 30 kB / 0.9509 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.766e-05/0.6247, allocations: 56.92 kB / 0.951 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6247, allocations: 1.406 kB / 0.951 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6247, allocations: 0 / 0.951 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.6247, allocations: 0 / 0.951 GB, free: 8.277 MB / 0.7169 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.0003102/0.625, allocations: 378.3 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.6251, allocations: 9.594 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.6251, allocations: 9.875 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.6253, allocations: 193.8 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.6253, allocations: 7.375 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.6253, allocations: 5.844 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.6254, allocations: 97.03 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.6254, allocations: 192 / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.6255, allocations: 5.938 kB / 0.9517 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.6255, allocations: 2 kB / 0.9517 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.742e-05/0.6255, allocations: 39.14 kB / 0.9517 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.6259, allocations: 436.8 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.337e-05/0.626, allocations: 45.52 kB / 0.9522 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.626, allocations: 28.27 kB / 0.9522 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.732e-06/0.6261, allocations: 0 / 0.9522 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.6261, allocations: 31.59 kB / 0.9522 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.6261, allocations: 0 / 0.9522 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001395/0.6262, allocations: 55.95 kB / 0.9523 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.6263, allocations: 77.36 kB / 0.9523 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.6264, allocations: 168.7 kB / 0.9525 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-06/0.6264, allocations: 25.7 kB / 0.9525 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.6264, allocations: 108.2 kB / 0.9526 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.106e-06/0.6264, allocations: 9.25 kB / 0.9526 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.6265, allocations: 20.77 kB / 0.9527 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.003e-05/0.6265, allocations: 316.5 kB / 0.953 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.6265, allocations: 12.03 kB / 0.953 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.875e-05/0.6266, allocations: 22.67 kB / 0.953 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.764e-05/0.6266, allocations: 26.91 kB / 0.953 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6266, allocations: 0 / 0.953 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.132e-05/0.6267, allocations: 59.03 kB / 0.9531 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.6267, allocations: 6.094 kB / 0.9531 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.6267, allocations: 5.188 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.6267, allocations: 1.406 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.6268, allocations: 13.41 kB / 0.9531 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.6268, allocations: 0 / 0.9531 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.806e-05/0.6268, allocations: 2.75 kB / 0.9531 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.6268, allocations: 1.469 kB / 0.9531 GB, free: 6.109 MB / 0.7169 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 4.863e-05/0.6269, allocations: 113.9 kB / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.6269, allocations: 8.031 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.627, allocations: 18.55 kB / 0.9532 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.627, allocations: 0 / 0.9532 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.627, allocations: 5.312 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.627, allocations: 4 kB / 0.9532 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.6273, allocations: 475.4 kB / 0.9537 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6273, allocations: 0 / 0.9537 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.6273, allocations: 6.688 kB / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6273, allocations: 1.375 kB / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.6273, allocations: 0 / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6273, allocations: 1.375 kB / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6273, allocations: 1.438 kB / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.585e-05/0.6274, allocations: 82.17 kB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.6274, allocations: 95.25 kB / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.6275, allocations: 1.125 kB / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.148e-05/0.6275, allocations: 0.9375 kB / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.6275, allocations: 1.094 kB / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.6275, allocations: 5.156 kB / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.6276, allocations: 121 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6276, allocations: 3.938 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001921/0.6278, allocations: 6.75 kB / 0.954 GB, free: 5.156 MB / 0.7169 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 8.651e-05/0.6279, allocations: 97.25 kB / 0.9541 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.007e-05/0.6279, allocations: 18.08 kB / 0.9541 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.628, allocations: 1.25 kB / 0.9541 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.211e-05/0.628, allocations: 16.06 kB / 0.9541 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.6281, allocations: 10.31 kB / 0.9541 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.6284, allocations: 203.5 kB / 0.9543 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.6285, allocations: 0.702 MB / 0.955 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.6286, allocations: 11.72 kB / 0.955 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6286, allocations: 0 / 0.955 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of Templates: time 0.002068/0.6306, allocations: 0.8588 MB / 0.9559 GB, free: 3.68 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches