Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",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.001445/0.001445, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5453/0.5466, allocations: 140.4 MB / 0.9497 GB, free: 9.395 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001792/0.5485, allocations: 0.8227 MB / 0.9505 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.262e-05/0.5486, allocations: 45.03 kB / 0.9506 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.5486, allocations: 1.438 kB / 0.9506 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.5487, allocations: 3.938 kB / 0.9506 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.205e-05/0.5487, allocations: 13.11 kB / 0.9506 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.042e-05/0.5488, allocations: 20.14 kB / 0.9506 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.813e-05/0.5489, allocations: 63.22 kB / 0.9507 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.549, allocations: 48.39 kB / 0.9507 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.549, allocations: 20.17 kB / 0.9507 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.5491, allocations: 37.23 kB / 0.9508 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.5491, allocations: 5.5 kB / 0.9508 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.5491, allocations: 6.875 kB / 0.9508 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.5492, allocations: 17.3 kB / 0.9508 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.5492, allocations: 30.69 kB / 0.9508 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.001e-05/0.5493, allocations: 75.84 kB / 0.9509 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5493, allocations: 3.984 kB / 0.9509 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5493, allocations: 3.938 kB / 0.9509 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.5493, allocations: 1.375 kB / 0.9509 GB, free: 8.469 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.0003097/0.5496, allocations: 382.5 kB / 0.9513 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.5497, allocations: 8.25 kB / 0.9513 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.001e-05/0.5497, allocations: 41.48 kB / 0.9513 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.5497, allocations: 10.34 kB / 0.9513 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.5499, allocations: 185.8 kB / 0.9515 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.5499, allocations: 7.125 kB / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.5499, allocations: 5.875 kB / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.55, allocations: 93.73 kB / 0.9516 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.55, allocations: 7.922 kB / 0.9516 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.5501, allocations: 5.594 kB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5501, allocations: 1.469 kB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.847e-05/0.5501, allocations: 40.23 kB / 0.9517 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.5505, allocations: 432.2 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.73e-05/0.5506, allocations: 44.94 kB / 0.9521 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.5506, allocations: 20.25 kB / 0.9521 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-06/0.5506, allocations: 0 / 0.9521 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.5506, allocations: 37.11 kB / 0.9522 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.5506, allocations: 0 / 0.9522 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001371/0.5508, allocations: 57.89 kB / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.5508, allocations: 78.67 kB / 0.9523 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.5509, allocations: 163.9 kB / 0.9525 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.38e-06/0.5509, allocations: 25.7 kB / 0.9525 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.551, allocations: 111.9 kB / 0.9526 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/0.551, allocations: 8.969 kB / 0.9526 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.551, allocations: 13.72 kB / 0.9526 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.673e-05/0.5511, allocations: 328.5 kB / 0.9529 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.5511, allocations: 8.25 kB / 0.9529 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.5511, allocations: 21.8 kB / 0.9529 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.5511, allocations: 31.06 kB / 0.953 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.5511, allocations: 0 / 0.953 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.847e-05/0.5512, allocations: 55.95 kB / 0.953 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.5512, allocations: 16.88 kB / 0.953 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.5512, allocations: 3.984 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.5513, allocations: 1.094 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.437e-05/0.5513, allocations: 9.641 kB / 0.9531 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.5513, allocations: 1.062 kB / 0.9531 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.5514, allocations: 1.594 kB / 0.9531 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.5514, allocations: 5.344 kB / 0.9531 GB, free: 6.246 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.5514, allocations: 109.9 kB / 0.9532 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.5515, allocations: 11.88 kB / 0.9532 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.5515, allocations: 18.61 kB / 0.9532 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5515, allocations: 1.469 kB / 0.9532 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5515, allocations: 0 / 0.9532 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5515, allocations: 1.375 kB / 0.9532 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.5517, allocations: 474.1 kB / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5518, allocations: 0 / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.5518, allocations: 4.281 kB / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5518, allocations: 4.062 kB / 0.9537 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.5518, allocations: 1.469 kB / 0.9537 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5518, allocations: 0 / 0.9537 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5518, allocations: 1.75 kB / 0.9537 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.542e-05/0.5519, allocations: 81.23 kB / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.5519, allocations: 91.77 kB / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.5519, allocations: 9.266 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.5519, allocations: 1.438 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-06/0.552, allocations: 1.094 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.552, allocations: 1.219 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.552, allocations: 124 kB / 0.954 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.552, allocations: 0 / 0.954 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001834/0.5522, allocations: 7.312 kB / 0.954 GB, free: 5.301 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 (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.0001988/0.5524, allocations: 0.6205 MB / 0.9546 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.105e-05/0.5525, allocations: 14.19 kB / 0.9546 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5525, allocations: 0 / 0.9546 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.063e-05/0.5525, allocations: 7.812 kB / 0.9546 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.5527, allocations: 11.61 kB / 0.9546 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007904/0.5535, allocations: 1.327 MB / 0.9559 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.462e-05/0.5536, allocations: 0.6975 MB / 0.9566 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.711e-05/0.5536, allocations: 8.797 kB / 0.9566 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.5536, allocations: 27.62 kB / 0.9566 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5537, allocations: 0 / 0.9566 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.569, allocations: 1.54 MB / 0.9581 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.173/7.742, allocations: 5.875 kB / 0.9581 GB, free: 1.84 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches