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.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_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.001447/0.001447, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001834/0.001834, allocations: 193.3 kB / 16.25 MB, free: 6.637 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.434/2.434, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6347/0.6361, allocations: 140.4 MB / 0.9492 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002217/0.6384, allocations: 0.8723 MB / 0.9501 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001492/0.6386, allocations: 45.16 kB / 0.9501 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.6386, allocations: 1.5 kB / 0.9501 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.937e-05/0.6387, allocations: 7.922 kB / 0.9501 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.46e-05/0.6388, allocations: 1.25 kB / 0.9501 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.805e-05/0.6388, allocations: 16.12 kB / 0.9502 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.587e-05/0.6389, allocations: 63.16 kB / 0.9502 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.639, allocations: 44.47 kB / 0.9503 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.763e-05/0.6391, allocations: 24.16 kB / 0.9503 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.6392, allocations: 27.92 kB / 0.9503 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.6392, allocations: 6.875 kB / 0.9503 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-06/0.6392, allocations: 5.5 kB / 0.9503 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.6392, allocations: 18.67 kB / 0.9503 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.6392, allocations: 37.23 kB / 0.9504 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.053e-05/0.6393, allocations: 83.64 kB / 0.9505 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6393, allocations: 0 / 0.9505 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6394, allocations: 0 / 0.9505 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.6394, allocations: 1.375 kB / 0.9505 GB, free: 8.305 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.0003215/0.6397, allocations: 382.5 kB / 0.9508 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.6397, allocations: 8.25 kB / 0.9508 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.632e-05/0.6398, allocations: 37.5 kB / 0.9509 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.6398, allocations: 10.34 kB / 0.9509 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.64, allocations: 189.8 kB / 0.9511 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.64, allocations: 11.12 kB / 0.9511 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.64, allocations: 5.875 kB / 0.9511 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.6401, allocations: 94.02 kB / 0.9512 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.6401, allocations: 3.938 kB / 0.9512 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.6402, allocations: 1.375 kB / 0.9512 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.6402, allocations: 1.375 kB / 0.9512 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.986e-05/0.6402, allocations: 39.17 kB / 0.9512 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.6407, allocations: 434 kB / 0.9516 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.365e-05/0.6408, allocations: 45.3 kB / 0.9517 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.6408, allocations: 18.84 kB / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.6408, allocations: 5.094 kB / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.6409, allocations: 31.44 kB / 0.9517 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.6409, allocations: 0 / 0.9517 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001974/0.6411, allocations: 64.05 kB / 0.9518 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.6411, allocations: 77.11 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.6413, allocations: 167.7 kB / 0.952 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.6413, allocations: 29.7 kB / 0.952 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.6413, allocations: 104.9 kB / 0.9521 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.6414, allocations: 17.19 kB / 0.9522 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.6414, allocations: 12.66 kB / 0.9522 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.86e-05/0.6415, allocations: 317.5 kB / 0.9525 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.6415, allocations: 10.73 kB / 0.9525 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.168e-05/0.6415, allocations: 14.84 kB / 0.9525 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.6416, allocations: 35 kB / 0.9525 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6416, allocations: 0 / 0.9525 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.243e-05/0.6416, allocations: 59.72 kB / 0.9526 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6417, allocations: 8.125 kB / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6417, allocations: 1.625 kB / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.6417, allocations: 0 / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.6418, allocations: 5.875 kB / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.6418, allocations: 1.125 kB / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.6418, allocations: 10.22 kB / 0.9526 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.6418, allocations: 9.328 kB / 0.9526 GB, free: 6.086 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 7.399e-05/0.6419, allocations: 117.6 kB / 0.9527 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.642, allocations: 11.72 kB / 0.9527 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.642, allocations: 10.34 kB / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.642, allocations: 1.125 kB / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.642, allocations: 1.188 kB / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.642, allocations: 0 / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.6424, allocations: 478.1 kB / 0.9532 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6424, allocations: 1.156 kB / 0.9532 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.6424, allocations: 2.844 kB / 0.9532 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.6424, allocations: 5.109 kB / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.6424, allocations: 0 / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.6424, allocations: 1.25 kB / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.509e-05/0.6424, allocations: 5.219 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7e-05/0.6425, allocations: 77.5 kB / 0.9533 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.6426, allocations: 96.53 kB / 0.9534 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.6426, allocations: 1.375 kB / 0.9534 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.121e-05/0.6426, allocations: 0 / 0.9534 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.6426, allocations: 5.312 kB / 0.9534 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.6426, allocations: 1.375 kB / 0.9534 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.264e-05/0.6427, allocations: 126.1 kB / 0.9535 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6427, allocations: 0 / 0.9535 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001958/0.6429, allocations: 6.375 kB / 0.9535 GB, free: 5.137 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.0002716/0.6432, allocations: 0.6178 MB / 0.9541 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.61e-05/0.6433, allocations: 22.16 kB / 0.9542 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6433, allocations: 0 / 0.9542 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.6433, allocations: 9.359 kB / 0.9542 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.6435, allocations: 10.55 kB / 0.9542 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.6445, allocations: 1.345 MB / 0.9555 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.6446, allocations: 0.6954 MB / 0.9562 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.425e-05/0.6447, allocations: 12.55 kB / 0.9562 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.6447, allocations: 26.7 kB / 0.9562 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6447, allocations: 0 / 0.9562 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.6581, allocations: 1.458 MB / 0.9576 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/0.6583, allocations: 214.4 kB / 0.9578 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.336, allocations: 3.938 kB / 0.9578 GB, free: 1.516 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