Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001314/0.001314, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.000507, allocations: 8 kB / 0.8708 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8179/0.8184, allocations: 153.7 MB / 1.021 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001024/0.8195, allocations: 0.5316 MB / 1.021 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001077/0.8196, allocations: 35.8 kB / 1.021 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.8197, allocations: 4 kB / 1.021 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.8197, allocations: 3.938 kB / 1.021 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.939e-05/0.8198, allocations: 4 kB / 1.021 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.02e-05/0.8199, allocations: 19.98 kB / 1.021 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.53e-05/0.82, allocations: 39.89 kB / 1.021 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.8201, allocations: 28.16 kB / 1.021 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.8201, allocations: 15.88 kB / 1.021 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.136e-05/0.8202, allocations: 19.86 kB / 1.021 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.8202, allocations: 0 / 1.021 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.8203, allocations: 4 kB / 1.021 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.8203, allocations: 7.922 kB / 1.022 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.8203, allocations: 41.69 kB / 1.022 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.799e-05/0.8204, allocations: 51.89 kB / 1.022 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.8204, allocations: 0 / 1.022 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.464e-06/0.8204, allocations: 0 / 1.022 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.8204, allocations: 0 / 1.022 GB, free: 0.4961 MB / 0.7637 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.0004472/0.8209, allocations: 361.2 kB / 1.022 GB, free: 100 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.8209, allocations: 11.98 kB / 1.022 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.821, allocations: 11.81 kB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.8212, allocations: 198.9 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.8212, allocations: 8 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.8213, allocations: 4 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.8214, allocations: 103.2 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8214, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.8215, allocations: 7.938 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.8215, allocations: 4 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.583e-05/0.8216, allocations: 31.98 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.8221, allocations: 440.6 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.441e-05/0.8222, allocations: 37.2 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.8222, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.8222, allocations: 38.59 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.8222, allocations: 0 / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000183/0.8224, allocations: 57.62 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.8225, allocations: 81.05 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.8226, allocations: 155.1 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.8226, allocations: 25.7 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.8227, allocations: 108.2 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.818e-06/0.8227, allocations: 11.84 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-06/0.8228, allocations: 0 / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.8229, allocations: 322.8 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.8229, allocations: 8 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.227e-05/0.8229, allocations: 17.7 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/0.823, allocations: 8 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.823, allocations: 0 / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.874e-05/0.8231, allocations: 61.55 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.8231, allocations: 8 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.8231, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.8231, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.8232, allocations: 15.94 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.8232, allocations: 4 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.558e-05/0.8232, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.8233, allocations: 4 kB / 1.024 GB, free: 14.15 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.585e-05/0.8234, allocations: 116 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.8234, allocations: 7.906 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.8234, allocations: 7.875 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.8234, allocations: 3.984 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.8235, allocations: 7.953 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.8235, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.8239, allocations: 470.7 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8239, allocations: 7.938 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.8239, allocations: 11.94 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.8239, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.8239, allocations: 3.953 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.824, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.824, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.718e-05/0.8241, allocations: 91.61 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.8241, allocations: 88.97 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.8241, allocations: 4 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.894e-05/0.8242, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.8242, allocations: 3.984 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.8242, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.793e-05/0.8243, allocations: 125.1 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8243, allocations: 3.938 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001837/0.8245, allocations: 11.94 kB / 1.025 GB, free: 13.09 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001203/0.8246, allocations: 101.8 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.917e-05/0.8247, allocations: 16 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8247, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.168e-05/0.8247, allocations: 7.938 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.8248, allocations: 12.56 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.8252, allocations: 178.8 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.8255, allocations: 0.6965 MB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.304e-05/0.8256, allocations: 8.531 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.8256, allocations: 11.44 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8256, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of Templates: time 0.002475/0.8281, allocations: 423.8 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches