Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.001197/0.001197, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001347/0.001347, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.288/2.288, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5621/0.5636, allocations: 140.4 MB / 0.949 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.00183/0.5655, allocations: 0.8728 MB / 0.9499 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.528e-05/0.5656, allocations: 41.34 kB / 0.9499 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.5656, allocations: 1.375 kB / 0.9499 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.5657, allocations: 3.938 kB / 0.9499 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.484e-05/0.5658, allocations: 13.3 kB / 0.95 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.318e-05/0.5658, allocations: 10.75 kB / 0.95 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.611e-05/0.5659, allocations: 59.22 kB / 0.95 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.566, allocations: 43.03 kB / 0.9501 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.897e-05/0.5661, allocations: 30.72 kB / 0.9501 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.5661, allocations: 21.36 kB / 0.9501 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.5661, allocations: 2.75 kB / 0.9501 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-06/0.5662, allocations: 4.125 kB / 0.9501 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.5662, allocations: 18.67 kB / 0.9501 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.5662, allocations: 26.69 kB / 0.9502 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.803e-05/0.5663, allocations: 74.31 kB / 0.9502 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5663, allocations: 4 kB / 0.9502 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.91e-07/0.5663, allocations: 0 / 0.9502 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.5663, allocations: 0 / 0.9502 GB, free: 8.133 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.000291/0.5666, allocations: 378.5 kB / 0.9506 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.5667, allocations: 10.59 kB / 0.9506 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.516e-05/0.5667, allocations: 43.89 kB / 0.9507 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.5667, allocations: 9.938 kB / 0.9507 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.5669, allocations: 194.2 kB / 0.9508 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.5669, allocations: 3.906 kB / 0.9509 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.5669, allocations: 12.75 kB / 0.9509 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.567, allocations: 93.53 kB / 0.951 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.567, allocations: 5.156 kB / 0.951 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.5671, allocations: 4 kB / 0.951 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5671, allocations: 2.219 kB / 0.951 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.866e-05/0.5671, allocations: 39.64 kB / 0.951 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.5675, allocations: 437.6 kB / 0.9514 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.943e-05/0.5676, allocations: 37.03 kB / 0.9515 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.5676, allocations: 18.97 kB / 0.9515 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.5676, allocations: 9.156 kB / 0.9515 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.5676, allocations: 35.83 kB / 0.9515 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5677, allocations: 0 / 0.9515 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001492/0.5678, allocations: 59.17 kB / 0.9516 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.5678, allocations: 78.83 kB / 0.9516 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.5679, allocations: 158.9 kB / 0.9518 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-06/0.568, allocations: 25.95 kB / 0.9518 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.568, allocations: 120.2 kB / 0.9519 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.201e-06/0.568, allocations: 5.094 kB / 0.9519 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.568, allocations: 17.66 kB / 0.952 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.5681, allocations: 320.4 kB / 0.9523 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.5681, allocations: 4.125 kB / 0.9523 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.5681, allocations: 26.3 kB / 0.9523 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.36e-05/0.5682, allocations: 30.03 kB / 0.9523 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5682, allocations: 0 / 0.9523 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.314e-05/0.5682, allocations: 56.83 kB / 0.9524 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.5683, allocations: 9.688 kB / 0.9524 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5683, allocations: 5.391 kB / 0.9524 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.5683, allocations: 3.984 kB / 0.9524 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.5684, allocations: 9.219 kB / 0.9524 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.5684, allocations: 1.406 kB / 0.9524 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.5684, allocations: 6 kB / 0.9524 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.5684, allocations: 1.562 kB / 0.9524 GB, free: 5.906 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.666e-05/0.5685, allocations: 113 kB / 0.9525 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.5685, allocations: 12.81 kB / 0.9525 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.933e-05/0.5685, allocations: 13.7 kB / 0.9525 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5685, allocations: 1.781 kB / 0.9525 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5685, allocations: 0 / 0.9525 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.5685, allocations: 1.406 kB / 0.9525 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.5688, allocations: 474 kB / 0.953 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5688, allocations: 0 / 0.953 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.5688, allocations: 3.719 kB / 0.953 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.5688, allocations: 1.469 kB / 0.953 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.5688, allocations: 3.938 kB / 0.953 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.5689, allocations: 5.391 kB / 0.953 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5689, allocations: 0 / 0.953 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.757e-05/0.5689, allocations: 90.17 kB / 0.9531 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.569, allocations: 88.64 kB / 0.9532 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.569, allocations: 9.109 kB / 0.9532 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.569, allocations: 0 / 0.9532 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.569, allocations: 2.094 kB / 0.9532 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.569, allocations: 1.469 kB / 0.9532 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.033e-05/0.5691, allocations: 124.1 kB / 0.9533 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5691, allocations: 4.031 kB / 0.9533 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001887/0.5693, allocations: 7.406 kB / 0.9533 GB, free: 4.949 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.0001999/0.5695, allocations: 0.6164 MB / 0.9539 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.529e-05/0.5696, allocations: 19.28 kB / 0.9539 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5696, allocations: 0 / 0.9539 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.5696, allocations: 8.125 kB / 0.954 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.5697, allocations: 8.469 kB / 0.954 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008271/0.5706, allocations: 1.348 MB / 0.9553 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.829e-05/0.5707, allocations: 0.6951 MB / 0.956 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.5707, allocations: 12.7 kB / 0.956 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.5707, allocations: 27.69 kB / 0.956 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.5708, allocations: 0 / 0.956 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01008/0.5808, allocations: 1.417 MB / 0.9574 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/0.581, allocations: 211.4 kB / 0.9576 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.192, allocations: 0 / 0.9576 GB, free: 1.34 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches