Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001506/0.001511, 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.001724/0.001724, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.513/2.513, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 69.66 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2524, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001958/0.2544, allocations: 0.8388 MB / 1.054 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001191/0.2545, allocations: 39.78 kB / 1.054 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.2546, allocations: 0 / 1.054 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/0.2546, allocations: 11.86 kB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.327e-05/0.2547, allocations: 11.88 kB / 1.054 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.465e-05/0.2548, allocations: 15.98 kB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.853e-05/0.2549, allocations: 71.78 kB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.255, allocations: 51.95 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.528e-05/0.2551, allocations: 27.86 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.2551, allocations: 27.86 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.2551, allocations: 4 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.2551, allocations: 8 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.2552, allocations: 11.92 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.2552, allocations: 35.75 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.629e-05/0.2553, allocations: 71.97 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2553, allocations: 4 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2553, allocations: 0 / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.2553, allocations: 0 / 1.054 GB, free: 7.102 MB / 0.8106 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.0003491/0.2557, allocations: 371.3 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.2557, allocations: 16.56 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.2558, allocations: 38.73 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.2558, allocations: 12.84 kB / 1.055 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.256, allocations: 188.2 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.256, allocations: 12.28 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.256, allocations: 4.375 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.2561, allocations: 99.88 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.2562, allocations: 7.938 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.2562, allocations: 4 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2562, allocations: 0 / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.689e-05/0.2562, allocations: 31.98 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.2567, allocations: 444.5 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.538e-05/0.2568, allocations: 33.28 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.2568, allocations: 29.73 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.2568, allocations: 0 / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.2568, allocations: 30.56 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2569, allocations: 4 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001533/0.257, allocations: 57.48 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.2571, allocations: 77.11 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2572, allocations: 162.2 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.2572, allocations: 25.7 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.2573, allocations: 100 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.458e-06/0.2573, allocations: 7.906 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.2573, allocations: 17.7 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.2574, allocations: 327 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.2574, allocations: 8 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.2574, allocations: 17.7 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.086e-05/0.2575, allocations: 29.66 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2575, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.942e-05/0.2576, allocations: 61.62 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2576, allocations: 7.938 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2576, allocations: 3.938 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.2576, allocations: 96 / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.2577, allocations: 11.98 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2577, allocations: 0 / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.2577, allocations: 15.84 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.2577, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 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.216e-05/0.2578, allocations: 109.8 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.2578, allocations: 19.81 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.2579, allocations: 11.86 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2579, allocations: 4 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2579, allocations: 4 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2579, allocations: 0 / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.2582, allocations: 470.8 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2582, allocations: 0 / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.89e-05/0.2583, allocations: 4 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2583, allocations: 4.062 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.2583, allocations: 0 / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2583, allocations: 4 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2583, allocations: 0 / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.267e-05/0.2584, allocations: 81.77 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.2584, allocations: 93 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.2584, allocations: 4.031 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.967e-05/0.2585, allocations: 0 / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-06/0.2585, allocations: 0 / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.2585, allocations: 4 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.2586, allocations: 122.1 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2586, allocations: 0 / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001811/0.2587, allocations: 4 kB / 1.057 GB, free: 3.586 MB / 0.8106 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.0002901/0.259, allocations: 0.6209 MB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.777e-05/0.2591, allocations: 16 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2591, allocations: 0 / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/0.2591, allocations: 11.94 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.2593, allocations: 5.938 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.2603, allocations: 1.326 MB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.2605, allocations: 0.6963 MB / 1.06 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.918e-05/0.2605, allocations: 8.422 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.2606, allocations: 23.44 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.2606, allocations: 0 / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.2765, allocations: 1.548 MB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.657/6.933, allocations: 19.95 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches