Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001337/0.001337, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001276/0.001276, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.441/1.441, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 482.4 MB / 0.7543 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 69.86 kB / 0.9233 GB, free: 29.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3192, allocations: 162.2 MB / 1.082 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002157/0.3213, allocations: 0.8834 MB / 1.083 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001143/0.3215, allocations: 39.78 kB / 1.083 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.3215, allocations: 0 / 1.083 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.961e-05/0.3216, allocations: 7.922 kB / 1.083 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.624e-05/0.3217, allocations: 4 kB / 1.083 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.717e-05/0.3217, allocations: 15.98 kB / 1.083 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.3219, allocations: 59.8 kB / 1.083 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.3221, allocations: 55.94 kB / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.3221, allocations: 23.88 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.3222, allocations: 31.83 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.3222, allocations: 4 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.3222, allocations: 8 kB / 1.083 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.69e-05/0.3223, allocations: 11.88 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.3223, allocations: 39.73 kB / 1.083 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.3224, allocations: 68.06 kB / 1.083 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3225, allocations: 0 / 1.083 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3225, allocations: 0 / 1.083 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.3225, allocations: 4 kB / 1.083 GB, free: 12.39 MB / 0.8419 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.0005167/0.323, allocations: 383.1 kB / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.323, allocations: 12.03 kB / 1.083 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.3231, allocations: 8.844 kB / 1.083 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.3234, allocations: 188.2 kB / 1.084 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.3234, allocations: 8.375 kB / 1.084 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.3234, allocations: 12.31 kB / 1.084 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.3236, allocations: 101.3 kB / 1.084 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3236, allocations: 192 / 1.084 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3236, allocations: 7.875 kB / 1.084 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3237, allocations: 4 kB / 1.084 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.086e-05/0.3237, allocations: 39.92 kB / 1.084 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006449/0.3244, allocations: 432.6 kB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.164e-05/0.3245, allocations: 41.25 kB / 1.084 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.3245, allocations: 21.77 kB / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.3245, allocations: 0 / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.3246, allocations: 38.56 kB / 1.084 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.3246, allocations: 0 / 1.084 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001691/0.3247, allocations: 53.48 kB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.3248, allocations: 77.11 kB / 1.084 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.325, allocations: 163.9 kB / 1.084 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.325, allocations: 25.7 kB / 1.085 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.3251, allocations: 108.2 kB / 1.085 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.3251, allocations: 7.906 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.3252, allocations: 25.61 kB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3253, allocations: 314.8 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.3253, allocations: 4 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.3254, allocations: 25.64 kB / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.523e-05/0.3254, allocations: 29.72 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3254, allocations: 4 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.79e-05/0.3255, allocations: 53.62 kB / 1.085 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3256, allocations: 4 kB / 1.085 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.3256, allocations: 3.938 kB / 1.085 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.3256, allocations: 4 kB / 1.085 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.3257, allocations: 4 kB / 1.085 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3257, allocations: 0 / 1.085 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.3257, allocations: 15.84 kB / 1.085 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.3257, allocations: 4.062 kB / 1.085 GB, free: 9.945 MB / 0.8419 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 8.98e-05/0.3258, allocations: 113.8 kB / 1.085 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.3259, allocations: 7.906 kB / 1.085 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.3259, allocations: 19.8 kB / 1.085 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3259, allocations: 3.938 kB / 1.085 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3259, allocations: 0 / 1.085 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3259, allocations: 0 / 1.085 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.3264, allocations: 482.7 kB / 1.086 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3264, allocations: 0 / 1.086 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.3264, allocations: 4.094 kB / 1.086 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.3264, allocations: 3.984 kB / 1.086 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.3264, allocations: 4 kB / 1.086 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3264, allocations: 3.938 kB / 1.086 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3264, allocations: 0 / 1.086 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.275e-05/0.3265, allocations: 85.8 kB / 1.086 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.3267, allocations: 93 kB / 1.086 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.3267, allocations: 0 / 1.086 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.895e-05/0.3267, allocations: 0 / 1.086 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.3267, allocations: 4 kB / 1.086 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.3267, allocations: 0 / 1.086 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.348e-05/0.3268, allocations: 122.1 kB / 1.086 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3268, allocations: 0 / 1.086 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001781/0.327, allocations: 12.03 kB / 1.086 GB, free: 8.895 MB / 0.8419 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.0001317/0.3271, allocations: 95.25 kB / 1.086 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.92e-05/0.3272, allocations: 23.92 kB / 1.086 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3273, allocations: 0 / 1.086 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.3273, allocations: 8 kB / 1.086 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.3274, allocations: 17.77 kB / 1.086 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.3278, allocations: 175.2 kB / 1.086 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.3282, allocations: 0.6924 MB / 1.087 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.3282, allocations: 8.438 kB / 1.087 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.3283, allocations: 11.44 kB / 1.087 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3283, allocations: 0 / 1.087 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of Templates: time 0.002765/0.331, allocations: 466.9 kB / 1.087 GB, free: 7.352 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches