Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 108 kB / 16.41 MB, free: 6.027 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.001658/0.001658, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.299/2.299, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 63.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9088/0.9103, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001888/0.9123, allocations: 0.8395 MB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001012/0.9124, allocations: 45.94 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.841e-05/0.9124, allocations: 1.062 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.9125, allocations: 5.438 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.807e-05/0.9126, allocations: 10.23 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.139e-05/0.9126, allocations: 16.27 kB / 1.09 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.859e-05/0.9127, allocations: 67.97 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.9129, allocations: 37.59 kB / 1.09 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.905e-05/0.9129, allocations: 27.19 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.913, allocations: 29.58 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.913, allocations: 5.656 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.913, allocations: 6.938 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.913, allocations: 16.84 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.9131, allocations: 36.47 kB / 1.09 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.9132, allocations: 74.69 kB / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9132, allocations: 1.094 kB / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.684e-06/0.9132, allocations: 0 / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.9132, allocations: 0 / 1.09 GB, free: 4.766 MB / 0.8575 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.0003177/0.9135, allocations: 374 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.9136, allocations: 9.719 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.9136, allocations: 13.83 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.9138, allocations: 199.8 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-06/0.9138, allocations: 4.406 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.9138, allocations: 17.77 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.9139, allocations: 86.47 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.9139, allocations: 192 / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.914, allocations: 8.969 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.914, allocations: 5.812 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.172e-05/0.914, allocations: 40.28 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.9144, allocations: 434.3 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.984e-05/0.9145, allocations: 41.19 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.9145, allocations: 25.2 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.9145, allocations: 1.062 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.9146, allocations: 36.55 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.9146, allocations: 0 / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001462/0.9147, allocations: 60.58 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.9148, allocations: 78.77 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.9149, allocations: 155.4 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.211e-06/0.9149, allocations: 27.02 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.9149, allocations: 107.2 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.101e-06/0.915, allocations: 9.953 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.915, allocations: 18.95 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.235e-05/0.915, allocations: 320.2 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.9151, allocations: 7.781 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-05/0.9151, allocations: 19.53 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.9151, allocations: 23.39 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9151, allocations: 5.094 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.853e-05/0.9152, allocations: 60.89 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.9152, allocations: 5.625 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9152, allocations: 4.906 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.9153, allocations: 0 / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.9153, allocations: 6.938 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.9153, allocations: 1.156 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.9154, allocations: 6.828 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.9154, allocations: 1.156 kB / 1.092 GB, free: 2.699 MB / 0.8575 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 5.323e-05/0.9154, allocations: 118.6 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.9155, allocations: 8.25 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.9155, allocations: 12.09 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.9155, allocations: 1.188 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9155, allocations: 1.125 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.9155, allocations: 0.7031 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.9158, allocations: 474.8 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9158, allocations: 4.75 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.9158, allocations: 7.438 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.9158, allocations: 1.578 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.9159, allocations: 0 / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9159, allocations: 5.953 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9159, allocations: 5.406 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.683e-05/0.9159, allocations: 84.97 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.916, allocations: 89.64 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.916, allocations: 2.016 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.059e-05/0.916, allocations: 0.6094 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.916, allocations: 2.297 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.916, allocations: 1.531 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.866e-05/0.9161, allocations: 122.7 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.51e-07/0.9161, allocations: 0 / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001822/0.9163, allocations: 12 kB / 1.093 GB, free: 1.773 MB / 0.8575 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 9.06e-05/0.9164, allocations: 103.3 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.726e-05/0.9165, allocations: 20.23 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.9165, allocations: 0 / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.9165, allocations: 7.625 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.9167, allocations: 12.02 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.9169, allocations: 194.8 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.9171, allocations: 0.693 MB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.9171, allocations: 11.53 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.9171, allocations: 0 / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.00221/0.9193, allocations: 0.8688 MB / 1.095 GB, free: 16.69 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches