Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007839/0.007839, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001586/0.001586, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.775/2.775, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 64.12 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8939/0.8953, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.00181/0.8971, allocations: 0.8208 MB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001151/0.8972, allocations: 47.78 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.8973, allocations: 4 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.8973, allocations: 7.875 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.416e-05/0.8974, allocations: 11.86 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.12e-05/0.8975, allocations: 15.98 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.8976, allocations: 63.84 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.8977, allocations: 43.92 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.095e-05/0.8978, allocations: 23.86 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.836e-05/0.8979, allocations: 31.8 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.8979, allocations: 4 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.8979, allocations: 8 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.8979, allocations: 15.92 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.898, allocations: 39.78 kB / 1.209 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.8981, allocations: 71.66 kB / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.8981, allocations: 4 kB / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8981, allocations: 0 / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.8981, allocations: 0 / 1.209 GB, free: 12.41 MB / 0.9356 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.000373/0.8985, allocations: 380.8 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.8985, allocations: 12.03 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.8986, allocations: 12.83 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.8988, allocations: 196.1 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.8988, allocations: 4.375 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.8988, allocations: 16.38 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.899, allocations: 91.88 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.899, allocations: 192 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.899, allocations: 7.938 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.899, allocations: 4 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.822e-05/0.8991, allocations: 39.97 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.8996, allocations: 436.5 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.176e-05/0.8997, allocations: 37.22 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.8998, allocations: 17.78 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.8998, allocations: 0 / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.8998, allocations: 42.59 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8998, allocations: 0 / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001662/0.9, allocations: 57.47 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.9001, allocations: 81.11 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.9002, allocations: 156.5 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.9002, allocations: 25.7 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.9003, allocations: 108 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.275e-06/0.9003, allocations: 12.16 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.9003, allocations: 17.72 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.869e-05/0.9004, allocations: 318.8 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.9004, allocations: 4 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.338e-05/0.9005, allocations: 17.72 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.9005, allocations: 29.64 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.9005, allocations: 7.938 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.912e-05/0.9006, allocations: 57.61 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.9006, allocations: 5.562 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.9006, allocations: 3.938 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.9006, allocations: 4 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/0.9007, allocations: 11.92 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.9007, allocations: 0 / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.9008, allocations: 7.906 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.9008, allocations: 0 / 1.211 GB, free: 9.977 MB / 0.9356 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 6.907e-05/0.9008, allocations: 117.9 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.9009, allocations: 7.906 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.9009, allocations: 15.81 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.9009, allocations: 7.922 kB / 1.211 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9009, allocations: 0 / 1.211 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.9009, allocations: 4 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.9013, allocations: 470.8 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9013, allocations: 0 / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.9013, allocations: 4 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.9013, allocations: 0 / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.9014, allocations: 4 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9014, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9014, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.492e-05/0.9015, allocations: 89.83 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.9015, allocations: 88.95 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.9015, allocations: 0 / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.9016, allocations: 0 / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.9016, allocations: 7.984 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.9016, allocations: 0 / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.132e-05/0.9017, allocations: 124.7 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9017, allocations: 0 / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001923/0.9019, allocations: 11.91 kB / 1.212 GB, free: 8.926 MB / 0.9356 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 9.799e-05/0.902, allocations: 99.28 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.051e-05/0.9021, allocations: 19.94 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9021, allocations: 0 / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.089e-05/0.9021, allocations: 4 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.9023, allocations: 7.938 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.9026, allocations: 175 kB / 1.212 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.9028, allocations: 0.6924 MB / 1.213 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.239e-05/0.9028, allocations: 8.422 kB / 1.213 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.9029, allocations: 15.38 kB / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.9029, allocations: 0 / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of Templates: time 0.002464/0.9053, allocations: 470 kB / 1.213 GB, free: 7.383 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches