Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_9_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.007565/0.007565, allocations: 102 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.001463/0.001463, allocations: 195 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.403/1.403, 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 9.1.3-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 70.52 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2785, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001889/0.2805, allocations: 0.824 MB / 1.088 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001156/0.2806, allocations: 43.78 kB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.2807, allocations: 4 kB / 1.088 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.2807, allocations: 11.88 kB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.978e-05/0.2808, allocations: 11.86 kB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.062e-05/0.2809, allocations: 19.98 kB / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.561e-05/0.281, allocations: 55.84 kB / 1.088 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.2811, allocations: 47.94 kB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.2811, allocations: 31.8 kB / 1.089 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/0.2812, allocations: 27.86 kB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.2812, allocations: 4 kB / 1.089 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.2812, allocations: 8 kB / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.2813, allocations: 15.92 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.2813, allocations: 39.75 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.93e-05/0.2814, allocations: 74.44 kB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2814, allocations: 0 / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2814, allocations: 0 / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2814, allocations: 8 kB / 1.089 GB, free: 0.7812 MB / 0.8419 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.0003621/0.2818, allocations: 372.1 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2818, allocations: 12.03 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.2819, allocations: 42.73 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.2819, allocations: 16.75 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.2821, allocations: 184.2 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.2821, allocations: 4.375 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.2821, allocations: 8.375 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.2823, allocations: 105.9 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2823, allocations: 7.875 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.2823, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2823, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.171e-05/0.2824, allocations: 39.92 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.2828, allocations: 432.6 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.443e-05/0.2829, allocations: 45.19 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.2829, allocations: 21.83 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.2829, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.283, allocations: 34.56 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.283, allocations: 4 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001472/0.2831, allocations: 57.48 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.2832, allocations: 77.11 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.2833, allocations: 160.5 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.2833, allocations: 25.7 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.2834, allocations: 100 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.195e-06/0.2834, allocations: 3.906 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.2834, allocations: 25.89 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.2835, allocations: 322.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.2835, allocations: 4 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.138e-05/0.2836, allocations: 21.7 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.2836, allocations: 25.66 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2836, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.756e-05/0.2837, allocations: 65.53 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2837, allocations: 11.94 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.2837, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.2837, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/0.2838, allocations: 8 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2838, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/0.2838, allocations: 7.844 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.2838, allocations: 4 kB / 1.091 GB, free: 14.31 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.204e-05/0.2839, allocations: 113.8 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.284, allocations: 15.91 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.284, allocations: 11.86 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.284, allocations: 4 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.284, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.284, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.2843, allocations: 466.8 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2843, allocations: 0 / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.98e-05/0.2844, allocations: 12.06 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2844, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.2844, allocations: 7.938 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-06/0.2844, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2844, allocations: 3.938 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.065e-05/0.2845, allocations: 81.83 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.2845, allocations: 85.09 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.2845, allocations: 12.02 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.2846, allocations: 4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.2846, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.2846, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.538e-05/0.2847, allocations: 121.7 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2847, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001779/0.2848, allocations: 8 kB / 1.092 GB, free: 13.27 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.0002905/0.2851, allocations: 0.6248 MB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.407e-05/0.2852, allocations: 19.94 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2852, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.688e-06/0.2852, allocations: 4 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.2854, allocations: 16.17 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009762/0.2864, allocations: 1.332 MB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.2866, allocations: 0.6929 MB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.2866, allocations: 12.42 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.2867, allocations: 23.44 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.2867, allocations: 0 / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1335/0.4201, allocations: 1.591 MB / 1.096 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.865/8.286, allocations: 7.984 kB / 1.096 GB, free: 8.887 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches