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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001359/0.001359, allocations: 103.1 kB / 16.35 MB, free: 5.828 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.001654/0.001654, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.498/2.498, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 68.44 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.319, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001989/0.321, allocations: 0.8408 MB / 1.028 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001047/0.3211, allocations: 39.78 kB / 1.028 GB, free: 1.145 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.3212, allocations: 4 kB / 1.028 GB, free: 1.141 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.3212, allocations: 7.875 kB / 1.028 GB, free: 1.133 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.826e-05/0.3213, allocations: 11.92 kB / 1.028 GB, free: 1.121 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.783e-05/0.3214, allocations: 15.98 kB / 1.028 GB, free: 1.105 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.3215, allocations: 59.78 kB / 1.028 GB, free: 1.047 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.3217, allocations: 51.95 kB / 1.028 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.884e-05/0.3217, allocations: 27.86 kB / 1.028 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.959e-05/0.3218, allocations: 23.86 kB / 1.028 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.3218, allocations: 4 kB / 1.028 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.3218, allocations: 8 kB / 1.028 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.3218, allocations: 15.92 kB / 1.028 GB, free: 0.918 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.3219, allocations: 43.67 kB / 1.028 GB, free: 0.875 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.93e-05/0.322, allocations: 75.7 kB / 1.028 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.322, allocations: 0 / 1.028 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.392e-06/0.322, allocations: 0 / 1.028 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.322, allocations: 0 / 1.028 GB, free: 0.8008 MB / 0.795 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.0003903/0.3224, allocations: 376.4 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3225, allocations: 8.031 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.3225, allocations: 8.844 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.3227, allocations: 196.2 kB / 1.028 GB, free: 140 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3227, allocations: 8.281 kB / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.3227, allocations: 12.36 kB / 1.028 GB, free: 120 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3229, allocations: 90.45 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.3229, allocations: 192 / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3229, allocations: 11.92 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3229, allocations: 4 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.552e-05/0.323, allocations: 35.92 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.3235, allocations: 436.5 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.203e-05/0.3236, allocations: 41.34 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.3236, allocations: 21.78 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.3236, allocations: 7.938 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.3237, allocations: 38.55 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3237, allocations: 0 / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000156/0.3238, allocations: 53.48 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3239, allocations: 77.11 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.324, allocations: 163.7 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.324, allocations: 29.89 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.3241, allocations: 115.9 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.947e-06/0.3241, allocations: 7.906 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.3242, allocations: 13.72 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.3243, allocations: 318.8 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.3243, allocations: 8 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.047e-05/0.3243, allocations: 17.7 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.337e-05/0.3244, allocations: 33.72 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3244, allocations: 0 / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.5e-05/0.3245, allocations: 53.55 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3245, allocations: 4 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3245, allocations: 3.938 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3245, allocations: 4 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.93e-05/0.3246, allocations: 7.984 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3246, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.3246, allocations: 15.91 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.3246, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 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.492e-05/0.3247, allocations: 121.7 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.3247, allocations: 7.906 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.3248, allocations: 19.8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3248, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3248, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3248, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.3251, allocations: 474.8 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3252, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.651e-05/0.3252, allocations: 4 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3252, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.3252, allocations: 4 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3252, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3252, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.559e-05/0.3253, allocations: 81.89 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.3253, allocations: 89.02 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3254, allocations: 3.984 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.951e-05/0.3254, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.3254, allocations: 7.938 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.3254, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.685e-05/0.3255, allocations: 125.8 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3255, allocations: 3.938 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001836/0.3257, allocations: 12.03 kB / 1.031 GB, free: 13.32 MB / 0.8106 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.0001051/0.3258, allocations: 95.25 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.16e-05/0.3259, allocations: 16 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3259, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.406e-05/0.3259, allocations: 11.94 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.3261, allocations: 15.92 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.3264, allocations: 155.1 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.3266, allocations: 0.6924 MB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.419e-05/0.3267, allocations: 12.5 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.3267, allocations: 11.44 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3267, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.003373/0.3301, allocations: 456.3 kB / 1.032 GB, free: 11.79 MB / 0.8106 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=480 -s gbode -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/jenkins1/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