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.0009677/0.0009678, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007179/0.007179, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.18/1.18, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.057/2.057, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 8.281 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5521/0.5524, allocations: 142.4 MB / 0.9552 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.0007374/0.5532, allocations: 0.534 MB / 0.9557 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.232e-05/0.5533, allocations: 41 kB / 0.9557 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.5533, allocations: 2.344 kB / 0.9557 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.5534, allocations: 11.86 kB / 0.9557 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.525e-05/0.5534, allocations: 3.938 kB / 0.9558 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.429e-05/0.5535, allocations: 20.33 kB / 0.9558 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.204e-05/0.5536, allocations: 51.11 kB / 0.9558 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.5537, allocations: 34.31 kB / 0.9559 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.457e-05/0.5537, allocations: 20.83 kB / 0.9559 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.11e-05/0.5538, allocations: 28.89 kB / 0.9559 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.5538, allocations: 5.234 kB / 0.9559 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.572e-06/0.5538, allocations: 1.031 kB / 0.9559 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.5538, allocations: 11.09 kB / 0.9559 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.5539, allocations: 46.42 kB / 0.956 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.17e-05/0.5539, allocations: 71 kB / 0.956 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.5539, allocations: 0 / 0.956 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5539, allocations: 0 / 0.956 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.5539, allocations: 1.188 kB / 0.956 GB, free: 7.219 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.0002536/0.5542, allocations: 368.2 kB / 0.9564 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.5542, allocations: 10.75 kB / 0.9564 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.405e-05/0.5543, allocations: 40.08 kB / 0.9564 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.158e-05/0.5543, allocations: 13.38 kB / 0.9564 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.5544, allocations: 199.2 kB / 0.9566 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.5544, allocations: 3.594 kB / 0.9566 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.5545, allocations: 9.188 kB / 0.9566 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.5546, allocations: 90.41 kB / 0.9567 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.5546, allocations: 13.06 kB / 0.9567 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.5546, allocations: 5.25 kB / 0.9567 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.5546, allocations: 1.125 kB / 0.9567 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.179e-05/0.5547, allocations: 36.36 kB / 0.9568 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.5551, allocations: 434.2 kB / 0.9572 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.611e-05/0.5551, allocations: 41.09 kB / 0.9572 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.5551, allocations: 14.78 kB / 0.9572 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.5552, allocations: 0.8125 kB / 0.9573 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.5552, allocations: 39.64 kB / 0.9573 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5552, allocations: 5.188 kB / 0.9573 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001303/0.5553, allocations: 54.55 kB / 0.9573 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/0.5553, allocations: 82.11 kB / 0.9574 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.5554, allocations: 159.2 kB / 0.9576 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-06/0.5555, allocations: 30.7 kB / 0.9576 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.5555, allocations: 104 kB / 0.9577 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.261e-06/0.5555, allocations: 8.781 kB / 0.9577 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.5555, allocations: 11.28 kB / 0.9577 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.42e-05/0.5556, allocations: 324.8 kB / 0.958 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.5556, allocations: 8.438 kB / 0.958 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.5556, allocations: 13.56 kB / 0.9581 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.5556, allocations: 31.61 kB / 0.9581 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5556, allocations: 3.938 kB / 0.9581 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.413e-05/0.5557, allocations: 54.98 kB / 0.9581 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.5557, allocations: 8.719 kB / 0.9581 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.5557, allocations: 5.312 kB / 0.9582 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.5557, allocations: 0 / 0.9582 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.036e-05/0.5558, allocations: 10.83 kB / 0.9582 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.5558, allocations: 3.938 kB / 0.9582 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.5558, allocations: 10.75 kB / 0.9582 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.5559, allocations: 8.047 kB / 0.9582 GB, free: 5.004 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.053e-05/0.5559, allocations: 109.8 kB / 0.9583 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.5559, allocations: 20.42 kB / 0.9583 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.679e-05/0.556, allocations: 10.12 kB / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.556, allocations: 4.953 kB / 0.9583 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.556, allocations: 1.312 kB / 0.9583 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.556, allocations: 0 / 0.9583 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.5562, allocations: 474.4 kB / 0.9588 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.5562, allocations: 1.281 kB / 0.9588 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/0.5563, allocations: 6.438 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.5563, allocations: 1.031 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.5563, allocations: 0.9688 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5563, allocations: 1.219 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5563, allocations: 0 / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.406e-05/0.5563, allocations: 82.67 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.5564, allocations: 96.45 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.5564, allocations: 1.094 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.874e-05/0.5564, allocations: 0 / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-06/0.5564, allocations: 6.266 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.5564, allocations: 1.188 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.879e-05/0.5565, allocations: 119.1 kB / 0.9591 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.71e-07/0.5565, allocations: 0 / 0.9591 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000176/0.5567, allocations: 15.09 kB / 0.9591 GB, free: 4.047 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.0001884/0.5569, allocations: 0.6119 MB / 0.9597 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.976e-05/0.5569, allocations: 19.38 kB / 0.9597 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.557, allocations: 0 / 0.9597 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.849e-06/0.557, allocations: 8.125 kB / 0.9597 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.5571, allocations: 8 kB / 0.9597 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007289/0.5579, allocations: 1.345 MB / 0.961 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.971e-05/0.5579, allocations: 0.6949 MB / 0.9617 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.51e-05/0.558, allocations: 5.844 kB / 0.9617 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.558, allocations: 27.23 kB / 0.9618 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.558, allocations: 0 / 0.9618 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4073/0.9653, allocations: 1.355 MB / 0.9631 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/0.9655, allocations: 214.5 kB / 0.9633 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/3.084, allocations: 0 / 0.9633 GB, free: 0.5312 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