Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_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.004368/0.004368, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001206/0.001206, allocations: 192.1 kB / 16.68 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.217/1.217, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.365/2.365, allocations: 437.1 MB / 0.7106 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 63.89 kB / 1.018 GB, free: 9.832 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6592/0.6611, allocations: 151.6 MB / 1.166 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001879/0.663, allocations: 0.831 MB / 1.167 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001027/0.6631, allocations: 39.8 kB / 1.167 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.6631, allocations: 0 / 1.167 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.693e-05/0.6632, allocations: 7.875 kB / 1.167 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.249e-05/0.6633, allocations: 15.86 kB / 1.167 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.655e-05/0.6633, allocations: 23.97 kB / 1.167 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.753e-05/0.6634, allocations: 55.84 kB / 1.167 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.6636, allocations: 43.98 kB / 1.167 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.615e-05/0.6636, allocations: 23.86 kB / 1.167 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.16e-05/0.6637, allocations: 31.8 kB / 1.167 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.6637, allocations: 8 kB / 1.167 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.6637, allocations: 4 kB / 1.167 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.6637, allocations: 15.92 kB / 1.167 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.6638, allocations: 31.81 kB / 1.167 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.6639, allocations: 75.34 kB / 1.167 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6639, allocations: 3.938 kB / 1.167 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6639, allocations: 4 kB / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.6639, allocations: 0 / 1.167 GB, free: 2.516 MB / 0.8887 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.0004126/0.6643, allocations: 379.1 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.6644, allocations: 12.92 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.136e-05/0.6644, allocations: 42.67 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.6645, allocations: 12.84 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.6647, allocations: 192.2 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.6647, allocations: 8.375 kB / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.6647, allocations: 8.375 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.6649, allocations: 98.31 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.6649, allocations: 7.922 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.6649, allocations: 8 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.6649, allocations: 0 / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-05/0.665, allocations: 31.98 kB / 1.168 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.6655, allocations: 440.7 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.569e-05/0.6655, allocations: 41.16 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/0.6656, allocations: 29.86 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.6656, allocations: 0 / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.6656, allocations: 34.56 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.6656, allocations: 0 / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001538/0.6658, allocations: 61.47 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.6659, allocations: 77.11 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.666, allocations: 160.7 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.666, allocations: 25.7 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.6661, allocations: 100.1 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-06/0.6661, allocations: 8.203 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.6662, allocations: 17.72 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6663, allocations: 322.8 kB / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.6663, allocations: 8 kB / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.6663, allocations: 21.7 kB / 1.169 GB, free: 160 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.486e-05/0.6664, allocations: 29.66 kB / 1.169 GB, free: 124 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.6664, allocations: 7.938 kB / 1.169 GB, free: 116 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.783e-05/0.6665, allocations: 53.61 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.6665, allocations: 15.92 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6665, allocations: 0 / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.6665, allocations: 3.938 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.083e-05/0.6666, allocations: 4 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.6666, allocations: 4 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.85e-05/0.6666, allocations: 7.938 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.6666, allocations: 4 kB / 1.17 GB, free: 16 kB / 0.8887 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 8.659e-05/0.6667, allocations: 113.9 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.6668, allocations: 11.89 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.6668, allocations: 11.86 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.6668, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6668, allocations: 4 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.6668, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.6672, allocations: 478.7 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6672, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.6673, allocations: 4 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6673, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.6673, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6673, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6673, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.299e-05/0.6674, allocations: 85.88 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.6674, allocations: 93.05 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.6675, allocations: 4 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.821e-05/0.6675, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-06/0.6675, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.6675, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.91e-05/0.6676, allocations: 119.2 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6676, allocations: 0 / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001779/0.6678, allocations: 8 kB / 1.17 GB, free: 14.98 MB / 0.9044 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.0003817/0.6682, allocations: 0.6249 MB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.246e-05/0.6683, allocations: 12 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6683, allocations: 4 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/0.6683, allocations: 16.09 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.6684, allocations: 0 / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.6696, allocations: 1.342 MB / 1.172 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.6699, allocations: 0.7007 MB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.652e-05/0.67, allocations: 8.375 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.67, allocations: 27.42 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.67, allocations: 0 / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.148/1.818, allocations: 1.572 MB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/12.61, allocations: 3.953 kB / 1.175 GB, free: 10.61 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches