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.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.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.007583/0.007584, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001639/0.001639, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.172/2.172, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 68.14 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8902/0.8917, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001946/0.8937, allocations: 0.8235 MB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001318/0.8938, allocations: 41.91 kB / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.8939, allocations: 1.094 kB / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.502e-05/0.8939, allocations: 9.469 kB / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.622e-05/0.8941, allocations: 13.8 kB / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.076e-05/0.8941, allocations: 16.5 kB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.8943, allocations: 63.03 kB / 1.088 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.8944, allocations: 38.25 kB / 1.088 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.785e-05/0.8945, allocations: 26.28 kB / 1.088 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.589e-05/0.8946, allocations: 39.5 kB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.8946, allocations: 9.344 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.8946, allocations: 6.594 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.8947, allocations: 11.94 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.8947, allocations: 32.64 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.8949, allocations: 78.92 kB / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.8949, allocations: 0.7969 kB / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8949, allocations: 0 / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.8949, allocations: 0 / 1.089 GB, free: 4.527 MB / 0.8575 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.0004641/0.8954, allocations: 383.2 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8954, allocations: 9.5 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.8955, allocations: 39.06 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.8955, allocations: 13.19 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.8957, allocations: 192.9 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.8957, allocations: 8.578 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.8957, allocations: 4.938 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.8959, allocations: 94.14 kB / 1.089 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.8959, allocations: 11.92 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.8959, allocations: 5.734 kB / 1.089 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.8959, allocations: 2.156 kB / 1.089 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.45e-05/0.896, allocations: 35.89 kB / 1.089 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.8965, allocations: 437.9 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.821e-05/0.8966, allocations: 41.73 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.8966, allocations: 20.33 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.8966, allocations: 1.297 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.8967, allocations: 36.22 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8967, allocations: 0 / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000173/0.8969, allocations: 64.86 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.8969, allocations: 79 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.8971, allocations: 158.2 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.8971, allocations: 25.7 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.8971, allocations: 104.2 kB / 1.09 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.8971, allocations: 13.53 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.8972, allocations: 14.73 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.056e-05/0.8972, allocations: 320.2 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.8973, allocations: 15.39 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.8973, allocations: 16.31 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/0.8973, allocations: 31.19 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.8973, allocations: 0 / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.63e-05/0.8974, allocations: 53.61 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.8974, allocations: 12.66 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8975, allocations: 4 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.8975, allocations: 1.062 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.8976, allocations: 10.8 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.8976, allocations: 1.062 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.928e-05/0.8976, allocations: 10.25 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.8976, allocations: 1.969 kB / 1.091 GB, free: 2.398 MB / 0.8575 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.979e-05/0.8977, allocations: 114.3 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.8977, allocations: 10.94 kB / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.8978, allocations: 13.03 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.8978, allocations: 1.922 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8978, allocations: 0 / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.8978, allocations: 1.25 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.8981, allocations: 470.9 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8981, allocations: 0.875 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.8981, allocations: 7 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.8982, allocations: 2.031 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.8982, allocations: 4 kB / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8982, allocations: 1.125 kB / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.8982, allocations: 1.734 kB / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.067e-05/0.8983, allocations: 79.52 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.8983, allocations: 95.09 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.8983, allocations: 1.578 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.136e-05/0.8983, allocations: 5.875 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.8984, allocations: 1.125 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.8984, allocations: 1.859 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.526e-05/0.8985, allocations: 120.5 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8985, allocations: 0 / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002076/0.8987, allocations: 6.531 kB / 1.092 GB, free: 1.488 MB / 0.8575 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.0003776/0.8991, allocations: 0.6234 MB / 1.092 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.326e-05/0.8992, allocations: 16.12 kB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8992, allocations: 0 / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.8992, allocations: 13.17 kB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.8994, allocations: 6.781 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.9006, allocations: 1.332 MB / 1.094 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.9009, allocations: 0.6918 MB / 1.094 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.593e-05/0.9009, allocations: 11.86 kB / 1.094 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.901, allocations: 28.66 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.901, allocations: 0 / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.9209, allocations: 1.581 MB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.81, allocations: 7.719 kB / 1.096 GB, free: 14.52 MB / 0.8731 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