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.001328/0.001328, 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.001367/0.001367, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.534/2.534, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.91 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5478/0.5491, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001838/0.551, allocations: 0.825 MB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.62e-05/0.5511, allocations: 43.78 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.5512, allocations: 0 / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.5512, allocations: 7.875 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.5513, allocations: 3.938 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.926e-05/0.5513, allocations: 23.97 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.557e-05/0.5514, allocations: 59.8 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.5515, allocations: 51.94 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.5516, allocations: 19.88 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.5516, allocations: 31.84 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.5516, allocations: 11.94 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.5516, allocations: 8 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.5517, allocations: 11.94 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.5517, allocations: 43.67 kB / 1.019 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.11e-05/0.5518, allocations: 70.02 kB / 1.019 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5518, allocations: 0 / 1.019 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5518, allocations: 0 / 1.019 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.5518, allocations: 0 / 1.019 GB, free: 1.266 MB / 0.7637 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.0003326/0.5522, allocations: 383.1 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.5522, allocations: 16.03 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.953e-05/0.5522, allocations: 34.75 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.079e-05/0.5523, allocations: 8.844 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.5524, allocations: 192.2 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.5524, allocations: 8.375 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.5525, allocations: 4.375 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.5526, allocations: 97.83 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.5526, allocations: 7.875 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.5526, allocations: 8 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.5526, allocations: 0 / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.456e-05/0.5527, allocations: 39.92 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.5531, allocations: 432.7 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.362e-05/0.5532, allocations: 45.19 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.5532, allocations: 25.83 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.5532, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.5533, allocations: 30.56 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.5533, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001371/0.5534, allocations: 65.56 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.5534, allocations: 77.11 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.5536, allocations: 167.2 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.5536, allocations: 25.7 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.5537, allocations: 104 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.5537, allocations: 7.906 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.5537, allocations: 13.72 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.5538, allocations: 327 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.5538, allocations: 12 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.013e-05/0.5539, allocations: 13.72 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.437e-05/0.5539, allocations: 29.66 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5539, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.081e-05/0.554, allocations: 57.53 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.554, allocations: 12 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.554, allocations: 11.94 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.554, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.706e-05/0.5541, allocations: 4 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.5541, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.5541, allocations: 7.891 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.5541, allocations: 4 kB / 1.021 GB, free: 14.76 MB / 0.7794 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 5.871e-05/0.5542, allocations: 109.8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.5542, allocations: 11.84 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.5543, allocations: 15.88 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.5543, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.5543, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.5543, allocations: 3.938 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.5546, allocations: 470.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5546, allocations: 3.984 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.5547, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5547, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.5547, allocations: 4.062 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5547, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5547, allocations: 3.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.641e-05/0.5548, allocations: 77.84 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.5548, allocations: 92.94 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.5548, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.88e-05/0.5549, allocations: 4.031 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.5549, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.5549, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.533e-05/0.555, allocations: 121.5 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.555, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001741/0.5551, allocations: 8 kB / 1.022 GB, free: 13.73 MB / 0.7794 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.0003015/0.5554, allocations: 0.6209 MB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.569e-05/0.5555, allocations: 19.92 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.5555, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-05/0.5555, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.5557, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.5566, allocations: 1.324 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.5569, allocations: 0.7002 MB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.615e-05/0.5569, allocations: 4.438 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.5569, allocations: 31.36 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.557, allocations: 3.938 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/0.6675, allocations: 1.532 MB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/8.138, allocations: 6.906 kB / 1.026 GB, free: 9.398 MB / 0.7794 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