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.007923/0.007923, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001489/0.001489, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 15.05 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.291/2.291, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 71.89 kB / 0.9509 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.002, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002088/1.004, allocations: 0.8214 MB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001282/1.004, allocations: 41.23 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.468e-05/1.004, allocations: 2.094 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.812e-05/1.005, allocations: 13.38 kB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/1.005, allocations: 10.55 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.817e-05/1.005, allocations: 15.48 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/1.005, allocations: 67.5 kB / 1.089 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/1.005, allocations: 37.92 kB / 1.089 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.803e-05/1.005, allocations: 27.5 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/1.005, allocations: 33.83 kB / 1.089 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/1.005, allocations: 5.906 kB / 1.089 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/1.005, allocations: 6.469 kB / 1.089 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/1.005, allocations: 16.61 kB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/1.005, allocations: 32.61 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/1.005, allocations: 74.33 kB / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.005, allocations: 1.312 kB / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.232e-06/1.005, allocations: 0 / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.023e-05/1.006, allocations: 0 / 1.089 GB, free: 4.785 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.0004795/1.006, allocations: 385.1 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/1.006, allocations: 9.594 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/1.006, allocations: 10.52 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/1.006, allocations: 196.3 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/1.006, allocations: 6.875 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/1.006, allocations: 13.31 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/1.007, allocations: 87.17 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/1.007, allocations: 4.172 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/1.007, allocations: 13.73 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/1.007, allocations: 5.75 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.433e-05/1.007, allocations: 36.08 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/1.007, allocations: 438.2 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.416e-05/1.007, allocations: 45.48 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/1.007, allocations: 21.11 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/1.007, allocations: 0.7969 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/1.007, allocations: 31.62 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/1.007, allocations: 1.062 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001889/1.008, allocations: 56.64 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/1.008, allocations: 86.92 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/1.008, allocations: 159.1 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/1.008, allocations: 25.7 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/1.008, allocations: 112.6 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.999e-06/1.008, allocations: 5.812 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/1.008, allocations: 12.89 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/1.008, allocations: 319.7 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/1.008, allocations: 17.2 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.608e-05/1.008, allocations: 19.17 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/1.008, allocations: 23.94 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.008, allocations: 0 / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.547e-05/1.008, allocations: 57.73 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.008, allocations: 4.625 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/1.008, allocations: 5.359 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.008, allocations: 4.781 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/1.008, allocations: 10.67 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/1.008, allocations: 1.734 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/1.009, allocations: 10.14 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/1.009, allocations: 0.7812 kB / 1.091 GB, free: 2.691 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 7.673e-05/1.009, allocations: 118.4 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/1.009, allocations: 8.75 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/1.009, allocations: 12.2 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/1.009, allocations: 4.656 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/1.009, allocations: 1.312 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.009, allocations: 0.7812 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/1.009, allocations: 470.9 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.009, allocations: 4.969 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-05/1.009, allocations: 7.75 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/1.009, allocations: 0 / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/1.009, allocations: 1.703 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.009, allocations: 5.438 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.009, allocations: 0.6562 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.357e-05/1.009, allocations: 80.5 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/1.009, allocations: 87.27 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/1.009, allocations: 0.5625 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/1.009, allocations: 1.094 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/1.009, allocations: 10.45 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/1.009, allocations: 1.281 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.731e-05/1.009, allocations: 121.8 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.009, allocations: 0 / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001984/1.01, allocations: 15.45 kB / 1.092 GB, free: 1.77 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 0.0001319/1.01, allocations: 98.67 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001138/1.01, allocations: 16.11 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.01, allocations: 4.062 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.465e-05/1.01, allocations: 8.828 kB / 1.092 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.0001752/1.01, allocations: 16.69 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/1.01, allocations: 156.7 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/1.011, allocations: 0.6932 MB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.373e-05/1.011, allocations: 15.59 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/1.011, allocations: 11.47 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/1.011, allocations: 0 / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.003121/1.014, allocations: 457.9 kB / 1.094 GB, free: 16.72 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/jenkins/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