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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00671/0.00671, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.001551/0.001551, allocations: 193.6 kB / 16.67 MB, free: 5.492 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 63.91 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3372, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002118/0.3394, allocations: 0.8254 MB / 1.208 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001362/0.3396, allocations: 39.8 kB / 1.208 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.3396, allocations: 0 / 1.208 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.061e-05/0.3397, allocations: 11.81 kB / 1.208 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.202e-05/0.3398, allocations: 11.94 kB / 1.208 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.566e-05/0.3398, allocations: 15.97 kB / 1.208 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.34, allocations: 67.77 kB / 1.208 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.3401, allocations: 47.92 kB / 1.208 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.155e-05/0.3402, allocations: 27.86 kB / 1.208 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.823e-05/0.3402, allocations: 23.86 kB / 1.208 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3403, allocations: 8 kB / 1.208 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-06/0.3403, allocations: 4 kB / 1.208 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.3403, allocations: 15.92 kB / 1.208 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.3404, allocations: 27.81 kB / 1.208 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.3405, allocations: 91.78 kB / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3405, allocations: 0 / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3405, allocations: 4 kB / 1.208 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3405, allocations: 0 / 1.208 GB, free: 8.914 MB / 0.9669 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.0004298/0.341, allocations: 375.2 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.341, allocations: 8.625 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.3411, allocations: 42.73 kB / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.3411, allocations: 8.844 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.3413, allocations: 192.2 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3413, allocations: 8.375 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.3413, allocations: 8.375 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.3415, allocations: 91.94 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3415, allocations: 3.938 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3415, allocations: 4 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3415, allocations: 4 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.753e-05/0.3416, allocations: 35.92 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.3422, allocations: 440.5 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.636e-05/0.3422, allocations: 37.34 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.3423, allocations: 17.78 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.3423, allocations: 4 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3423, allocations: 38.55 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3423, allocations: 0 / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001876/0.3425, allocations: 53.48 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.3426, allocations: 77.11 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3428, allocations: 162.2 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3428, allocations: 25.7 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.3429, allocations: 111.9 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/0.3429, allocations: 4.25 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.3429, allocations: 21.56 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.343, allocations: 318.8 kB / 1.21 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.3431, allocations: 11.94 kB / 1.21 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.641e-05/0.3431, allocations: 21.7 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.3431, allocations: 29.66 kB / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3432, allocations: 4 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.284e-05/0.3432, allocations: 53.55 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3433, allocations: 9.188 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3433, allocations: 4 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3433, allocations: 3.984 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.3434, allocations: 8 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3434, allocations: 0 / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.3434, allocations: 11.94 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.3434, allocations: 0 / 1.211 GB, free: 6.438 MB / 0.9669 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 9.395e-05/0.3435, allocations: 117.9 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.3436, allocations: 11.84 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.3436, allocations: 11.86 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3436, allocations: 0 / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3436, allocations: 0 / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3436, allocations: 4.031 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.344, allocations: 474.7 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.344, allocations: 7.984 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.042e-05/0.3441, allocations: 3.938 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3441, allocations: 4 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.3441, allocations: 0 / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3441, allocations: 0 / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3441, allocations: 0 / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.511e-05/0.3442, allocations: 85.89 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.3443, allocations: 85.02 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.3443, allocations: 3.984 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.894e-05/0.3443, allocations: 0 / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.3443, allocations: 4 kB / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.3443, allocations: 0 / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001004/0.3444, allocations: 125.8 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3444, allocations: 0 / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001982/0.3446, allocations: 12 kB / 1.212 GB, free: 5.395 MB / 0.9669 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.0003727/0.345, allocations: 0.6093 MB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.489e-05/0.3451, allocations: 19.94 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3451, allocations: 160 / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.341e-05/0.3452, allocations: 12 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.3453, allocations: 19.88 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.3466, allocations: 1.323 MB / 1.213 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3469, allocations: 0.6967 MB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.347, allocations: 4.438 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.347, allocations: 27.42 kB / 1.214 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.3471, allocations: 0 / 1.214 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.3659, allocations: 1.599 MB / 1.216 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/8.181, allocations: 5.812 kB / 1.216 GB, free: 1.035 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > 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/jenkins1/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