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.007585/0.007586, allocations: 102.3 kB / 15.73 MB, free: 5.992 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.001439/0.001439, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.19/2.19, allocations: 390.3 MB / 0.6648 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001447, allocations: 67.89 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8507/0.8522, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002411/0.8546, allocations: 0.8179 MB / 1.088 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001267/0.8548, allocations: 45.39 kB / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.853e-05/0.8548, allocations: 1.344 kB / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.372e-05/0.8549, allocations: 10.03 kB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.09e-05/0.855, allocations: 9.172 kB / 1.088 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.2e-05/0.8551, allocations: 21.09 kB / 1.088 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.8552, allocations: 60.08 kB / 1.088 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.8554, allocations: 44.55 kB / 1.088 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.501e-05/0.8555, allocations: 26.41 kB / 1.088 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.845e-05/0.8555, allocations: 34.66 kB / 1.089 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.8556, allocations: 7.562 kB / 1.089 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.8556, allocations: 4.938 kB / 1.089 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.8556, allocations: 13.12 kB / 1.089 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.8557, allocations: 32.19 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.8558, allocations: 85.86 kB / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.8558, allocations: 0 / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8559, allocations: 0 / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.8559, allocations: 1.062 kB / 1.089 GB, free: 4.504 MB / 0.8575 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.0004642/0.8563, allocations: 376.6 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.8564, allocations: 9.406 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.8564, allocations: 39.84 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.8565, allocations: 12.94 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.8567, allocations: 196.9 kB / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.8567, allocations: 7.625 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.8567, allocations: 5.406 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.8569, allocations: 94.66 kB / 1.089 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.8569, allocations: 3.938 kB / 1.089 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.8569, allocations: 5.375 kB / 1.089 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.8569, allocations: 1.875 kB / 1.089 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.481e-05/0.857, allocations: 36.58 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.8576, allocations: 437.5 kB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.743e-05/0.8577, allocations: 50.17 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.8577, allocations: 20.38 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.8577, allocations: 5.281 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.8577, allocations: 32.3 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.8578, allocations: 0 / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001763/0.8579, allocations: 56.44 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.858, allocations: 78.33 kB / 1.09 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.8581, allocations: 158.9 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.8581, allocations: 26.89 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.8582, allocations: 111.8 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.8582, allocations: 9.984 kB / 1.09 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.8583, allocations: 13.97 kB / 1.09 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.8583, allocations: 319.3 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.8584, allocations: 7.75 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.226e-05/0.8584, allocations: 21.2 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.863e-05/0.8584, allocations: 31.17 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8584, allocations: 0 / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.465e-05/0.8585, allocations: 57.44 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.8585, allocations: 9.219 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8586, allocations: 0.9688 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.8586, allocations: 5.484 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.8586, allocations: 6.016 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.8587, allocations: 1.438 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.8587, allocations: 13.66 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.8587, allocations: 1.5 kB / 1.091 GB, free: 2.379 MB / 0.8575 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.406e-05/0.8588, allocations: 115 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.8588, allocations: 11.62 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.8589, allocations: 9.047 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.8589, allocations: 0.8438 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.8589, allocations: 0.8125 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8589, allocations: 0.5156 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.8592, allocations: 474.7 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8592, allocations: 1.125 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.8592, allocations: 3.672 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.8593, allocations: 9.453 kB / 1.091 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.8593, allocations: 4.906 kB / 1.091 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.8593, allocations: 0 / 1.091 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8593, allocations: 1.609 kB / 1.091 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.498e-05/0.8594, allocations: 80.27 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-05/0.8594, allocations: 94.98 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.8594, allocations: 0.8438 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.044e-05/0.8594, allocations: 1.797 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.8595, allocations: 1.578 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.8595, allocations: 5.188 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.619e-05/0.8595, allocations: 121.6 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8596, allocations: 4.031 kB / 1.092 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002013/0.8598, allocations: 7.344 kB / 1.092 GB, free: 1.461 MB / 0.8575 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.0003375/0.8601, allocations: 0.6161 MB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.257e-05/0.8602, allocations: 22.48 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8602, allocations: 1.094 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.8602, allocations: 9.172 kB / 1.092 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.8604, allocations: 9 kB / 1.092 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.8615, allocations: 1.327 MB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.8617, allocations: 0.6961 MB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.8617, allocations: 7.328 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.8618, allocations: 24.77 kB / 1.094 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8618, allocations: 1.094 kB / 1.094 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01535/0.8772, allocations: 1.593 MB / 1.096 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.844, allocations: 7.266 kB / 1.096 GB, free: 14.5 MB / 0.8731 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