Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.To_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_9_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.001013/0.001013, 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.001003/0.001003, allocations: 194 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.201/2.201, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5232/0.5245, allocations: 140.4 MB / 0.949 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001744/0.5263, allocations: 0.885 MB / 0.9499 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.543e-05/0.5264, allocations: 40.78 kB / 0.95 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.5264, allocations: 1.344 kB / 0.95 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/0.5265, allocations: 3.938 kB / 0.95 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.906e-05/0.5265, allocations: 13.05 kB / 0.95 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.37e-05/0.5266, allocations: 10.81 kB / 0.95 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.184e-05/0.5267, allocations: 62.97 kB / 0.95 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.5268, allocations: 39.19 kB / 0.9501 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.461e-05/0.5268, allocations: 23.61 kB / 0.9501 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.801e-05/0.5269, allocations: 29.22 kB / 0.9501 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.5269, allocations: 3.219 kB / 0.9501 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.5269, allocations: 4.281 kB / 0.9501 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.5269, allocations: 17.95 kB / 0.9502 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.527, allocations: 30.53 kB / 0.9502 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.11e-05/0.527, allocations: 74.19 kB / 0.9503 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.527, allocations: 0 / 0.9503 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5271, allocations: 1.5 kB / 0.9503 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.5271, allocations: 4 kB / 0.9503 GB, free: 8.102 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.0002905/0.5274, allocations: 379.1 kB / 0.9506 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.5274, allocations: 9.656 kB / 0.9506 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.568e-05/0.5274, allocations: 40.92 kB / 0.9507 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.367e-05/0.5275, allocations: 9.906 kB / 0.9507 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.5276, allocations: 194.2 kB / 0.9509 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.5276, allocations: 4.375 kB / 0.9509 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.5276, allocations: 9.188 kB / 0.9509 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.5277, allocations: 94.94 kB / 0.951 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.5278, allocations: 3.938 kB / 0.951 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.5278, allocations: 5.125 kB / 0.951 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.5278, allocations: 2.562 kB / 0.951 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.351e-05/0.5278, allocations: 39.39 kB / 0.951 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.5282, allocations: 441.1 kB / 0.9514 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.586e-05/0.5283, allocations: 36.91 kB / 0.9515 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.5283, allocations: 23.55 kB / 0.9515 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.5283, allocations: 0 / 0.9515 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.5283, allocations: 35.88 kB / 0.9515 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.5283, allocations: 1.344 kB / 0.9515 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001335/0.5285, allocations: 55.02 kB / 0.9516 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.5285, allocations: 81.11 kB / 0.9517 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.946e-05/0.5286, allocations: 160.5 kB / 0.9518 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.02e-06/0.5286, allocations: 27.11 kB / 0.9518 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.5286, allocations: 111.8 kB / 0.9519 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.783e-06/0.5287, allocations: 9.25 kB / 0.952 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.5287, allocations: 17.78 kB / 0.952 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.5287, allocations: 316.4 kB / 0.9523 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.5287, allocations: 7.688 kB / 0.9523 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.836e-05/0.5288, allocations: 26.67 kB / 0.9523 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.969e-05/0.5288, allocations: 22.03 kB / 0.9523 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5288, allocations: 5.25 kB / 0.9523 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.513e-05/0.5289, allocations: 58.58 kB / 0.9524 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.5289, allocations: 13.67 kB / 0.9524 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.5289, allocations: 0 / 0.9524 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.5289, allocations: 1.656 kB / 0.9524 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.012e-05/0.529, allocations: 8.516 kB / 0.9524 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.529, allocations: 1.562 kB / 0.9524 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.529, allocations: 1.406 kB / 0.9524 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.529, allocations: 1.406 kB / 0.9524 GB, free: 5.895 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.302e-05/0.5291, allocations: 117.5 kB / 0.9525 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.5291, allocations: 11.88 kB / 0.9525 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.739e-05/0.5291, allocations: 11.7 kB / 0.9525 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.5291, allocations: 0 / 0.9525 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.5291, allocations: 1.094 kB / 0.9525 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.5292, allocations: 1.469 kB / 0.9525 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.5294, allocations: 481.8 kB / 0.953 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5294, allocations: 0 / 0.953 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.5294, allocations: 4 kB / 0.953 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5294, allocations: 7.875 kB / 0.953 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.5294, allocations: 5.406 kB / 0.953 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5294, allocations: 0 / 0.953 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5295, allocations: 1.344 kB / 0.953 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.367e-05/0.5295, allocations: 86.14 kB / 0.9531 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.5295, allocations: 91.69 kB / 0.9532 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.5296, allocations: 1.375 kB / 0.9532 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.5296, allocations: 5.312 kB / 0.9532 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.5296, allocations: 1.375 kB / 0.9532 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.5296, allocations: 1.375 kB / 0.9532 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.5297, allocations: 119.4 kB / 0.9533 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5297, allocations: 0 / 0.9533 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000176/0.5298, allocations: 10.88 kB / 0.9533 GB, free: 4.934 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.0001953/0.53, allocations: 0.6168 MB / 0.9539 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.29e-05/0.5301, allocations: 18.94 kB / 0.9539 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5301, allocations: 4.156 kB / 0.954 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.598e-06/0.5301, allocations: 8.125 kB / 0.954 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.5303, allocations: 6.75 kB / 0.954 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/0.5311, allocations: 1.352 MB / 0.9553 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.984e-05/0.5312, allocations: 0.6912 MB / 0.956 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.5312, allocations: 8.422 kB / 0.956 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.5312, allocations: 22.5 kB / 0.956 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of SimCode: time 1.8e-07/0.5313, allocations: 1.219 kB / 0.956 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01084/0.5421, allocations: 1.422 MB / 0.9574 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001199/0.5422, allocations: 206 kB / 0.9576 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.146, allocations: 7.938 kB / 0.9576 GB, free: 1.316 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches