Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009383/0.0009384, allocations: 100 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.0009155/0.0009155, 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.441/1.441, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.3 MB / 0.6653 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003529, allocations: 12 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7921/0.7925, allocations: 142.3 MB / 0.9535 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.0009777/0.7935, allocations: 0.5141 MB / 0.954 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001068/0.7936, allocations: 40.81 kB / 0.9541 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.7937, allocations: 2 kB / 0.9541 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.7937, allocations: 3.938 kB / 0.9541 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.7938, allocations: 8.922 kB / 0.9541 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.41e-05/0.7938, allocations: 11.34 kB / 0.9541 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.838e-05/0.7939, allocations: 40.64 kB / 0.9541 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.7941, allocations: 34.38 kB / 0.9542 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.37e-05/0.7941, allocations: 16.03 kB / 0.9542 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.7942, allocations: 15.95 kB / 0.9542 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.7942, allocations: 2.625 kB / 0.9542 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-06/0.7942, allocations: 1.688 kB / 0.9542 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.7942, allocations: 17.62 kB / 0.9542 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.7943, allocations: 42.02 kB / 0.9542 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.012e-05/0.7943, allocations: 45.08 kB / 0.9543 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.7943, allocations: 4 kB / 0.9543 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7944, allocations: 1.625 kB / 0.9543 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.7944, allocations: 0 / 0.9543 GB, free: 7.496 MB / 0.7169 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.0003596/0.7947, allocations: 367.2 kB / 0.9546 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.7948, allocations: 8.875 kB / 0.9547 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.7948, allocations: 17.11 kB / 0.9547 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.795, allocations: 186.1 kB / 0.9548 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.795, allocations: 1.938 kB / 0.9548 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.795, allocations: 12.94 kB / 0.9549 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.7952, allocations: 92.42 kB / 0.9549 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.7952, allocations: 1.594 kB / 0.955 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.7952, allocations: 0 / 0.955 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.7952, allocations: 2.562 kB / 0.955 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.7953, allocations: 43.44 kB / 0.955 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.7958, allocations: 441.2 kB / 0.9554 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.829e-05/0.7958, allocations: 41.44 kB / 0.9555 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.7959, allocations: 0 / 0.9555 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.7959, allocations: 32.41 kB / 0.9555 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.7959, allocations: 4 kB / 0.9555 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001656/0.796, allocations: 50.7 kB / 0.9555 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.7961, allocations: 82.33 kB / 0.9556 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.7962, allocations: 161.8 kB / 0.9558 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.7962, allocations: 27.02 kB / 0.9558 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.7963, allocations: 104.4 kB / 0.9559 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.368e-06/0.7963, allocations: 11.84 kB / 0.9559 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.7963, allocations: 1.594 kB / 0.9559 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.7964, allocations: 328.3 kB / 0.9562 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.7964, allocations: 2.844 kB / 0.9562 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.962e-05/0.7964, allocations: 22.95 kB / 0.9562 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.83e-05/0.7964, allocations: 8.719 kB / 0.9563 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7964, allocations: 0 / 0.9563 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.51e-05/0.7965, allocations: 55.45 kB / 0.9563 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.7965, allocations: 11.19 kB / 0.9563 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.7966, allocations: 0 / 0.9563 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.7966, allocations: 1.094 kB / 0.9563 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.914e-05/0.7966, allocations: 9.922 kB / 0.9563 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7967, allocations: 0 / 0.9563 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.7967, allocations: 6.75 kB / 0.9563 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.7967, allocations: 4.875 kB / 0.9563 GB, free: 5.406 MB / 0.7169 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 5.899e-05/0.7968, allocations: 118.8 kB / 0.9565 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.7968, allocations: 7.562 kB / 0.9565 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.7968, allocations: 19.39 kB / 0.9565 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7969, allocations: 1.375 kB / 0.9565 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.7969, allocations: 0 / 0.9565 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7969, allocations: 1.625 kB / 0.9565 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.7971, allocations: 473.2 kB / 0.9569 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.7972, allocations: 1.312 kB / 0.9569 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.7972, allocations: 7.062 kB / 0.9569 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7972, allocations: 4.062 kB / 0.9569 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.7972, allocations: 1.375 kB / 0.9569 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.7972, allocations: 0 / 0.9569 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7972, allocations: 1.812 kB / 0.9569 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.829e-05/0.7973, allocations: 95.27 kB / 0.957 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.7973, allocations: 92.33 kB / 0.9571 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.7973, allocations: 5.078 kB / 0.9571 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.059e-05/0.7974, allocations: 5.188 kB / 0.9571 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.7974, allocations: 5.391 kB / 0.9571 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.7974, allocations: 0 / 0.9571 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.714e-05/0.7975, allocations: 122 kB / 0.9573 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7975, allocations: 0 / 0.9573 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001863/0.7977, allocations: 10.84 kB / 0.9573 GB, free: 4.43 MB / 0.7169 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 9.207e-05/0.7978, allocations: 104.2 kB / 0.9574 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.281e-05/0.7978, allocations: 19.34 kB / 0.9574 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7978, allocations: 0 / 0.9574 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.018e-05/0.7979, allocations: 3.312 kB / 0.9574 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.798, allocations: 6.875 kB / 0.9574 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.7984, allocations: 180.2 kB / 0.9576 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.7985, allocations: 0.6956 MB / 0.9582 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.7985, allocations: 4.906 kB / 0.9583 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.7986, allocations: 15.75 kB / 0.9583 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.7986, allocations: 0 / 0.9583 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of Templates: time 0.002403/0.801, allocations: 415.8 kB / 0.9587 GB, free: 3.211 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches