Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.To_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_10_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.005286/0.005285, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001857/0.001857, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.721/2.721, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.337, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.00241/0.3395, allocations: 0.8216 MB / 1.167 GB, free: 6.5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001788/0.3397, allocations: 47.78 kB / 1.167 GB, free: 6.453 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.076e-05/0.3398, allocations: 4 kB / 1.167 GB, free: 6.449 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.87e-05/0.3398, allocations: 7.875 kB / 1.167 GB, free: 6.441 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.34, allocations: 15.86 kB / 1.167 GB, free: 6.426 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.48e-05/0.3401, allocations: 15.98 kB / 1.167 GB, free: 6.41 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.3402, allocations: 63.84 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.3404, allocations: 39.98 kB / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.476e-05/0.3405, allocations: 31.84 kB / 1.167 GB, free: 6.277 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.644e-05/0.3405, allocations: 27.8 kB / 1.167 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.3406, allocations: 8 kB / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.3406, allocations: 4 kB / 1.167 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.3406, allocations: 19.86 kB / 1.167 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.3407, allocations: 35.8 kB / 1.167 GB, free: 6.184 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.3408, allocations: 78.52 kB / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3408, allocations: 0 / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3408, allocations: 0 / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.3409, allocations: 0 / 1.167 GB, free: 6.109 MB / 0.92 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.0006299/0.3415, allocations: 384 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.3416, allocations: 8.031 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.076e-05/0.3416, allocations: 42.75 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.3417, allocations: 8.844 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.342, allocations: 200.1 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.342, allocations: 4.375 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.342, allocations: 12.38 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.3422, allocations: 87.89 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3422, allocations: 7.875 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3423, allocations: 4 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.3423, allocations: 4 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.618e-05/0.3424, allocations: 31.98 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006755/0.343, allocations: 440.5 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.912e-05/0.3431, allocations: 37.2 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.3432, allocations: 17.78 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.3432, allocations: 4 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3432, allocations: 42.53 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.854e-06/0.3432, allocations: 0 / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002051/0.3435, allocations: 57.47 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.3435, allocations: 77.11 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.3437, allocations: 160.5 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.3437, allocations: 25.95 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.3438, allocations: 108 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.3438, allocations: 11.89 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.3439, allocations: 13.72 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.344, allocations: 314.8 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.344, allocations: 11.98 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-05/0.3441, allocations: 13.72 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.88e-05/0.3441, allocations: 33.66 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3441, allocations: 4 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.936e-05/0.3442, allocations: 53.59 kB / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3442, allocations: 7.938 kB / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3443, allocations: 0 / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3443, allocations: 4 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.939e-05/0.3444, allocations: 4 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.3444, allocations: 3.938 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.3444, allocations: 19.91 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.3444, allocations: 0 / 1.17 GB, free: 3.625 MB / 0.92 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 9.284e-05/0.3445, allocations: 117.8 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.3446, allocations: 11.84 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.3446, allocations: 7.875 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3446, allocations: 0 / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.3446, allocations: 0 / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3447, allocations: 4.031 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.3451, allocations: 478.8 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3451, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.3451, allocations: 4 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3451, allocations: 3.984 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3452, allocations: 4 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.3452, allocations: 4 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3452, allocations: 0 / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.201e-05/0.3453, allocations: 81.84 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.3454, allocations: 93 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.3454, allocations: 0 / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.924e-05/0.3454, allocations: 0 / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.3455, allocations: 4 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.3455, allocations: 0 / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000107/0.3456, allocations: 121.9 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3456, allocations: 7.969 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001994/0.3458, allocations: 15.91 kB / 1.17 GB, free: 2.57 MB / 0.92 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.0004573/0.3463, allocations: 0.6092 MB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.3464, allocations: 24.02 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3464, allocations: 0 / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.827e-05/0.3464, allocations: 11.94 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.3466, allocations: 9.875 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.348, allocations: 1.323 MB / 1.172 GB, free: 476 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.3483, allocations: 0.6929 MB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.902e-05/0.3483, allocations: 8.422 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.3484, allocations: 23.44 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.3484, allocations: 0 / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.3692, allocations: 1.575 MB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/7.872, allocations: 8.656 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches