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.006415/0.006415, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001291/0.001291, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.522/2.522, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 63.91 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.929/0.9308, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001833/0.9327, allocations: 0.8271 MB / 1.167 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001107/0.9328, allocations: 43.78 kB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.9328, allocations: 0 / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.9329, allocations: 7.875 kB / 1.167 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.488e-05/0.933, allocations: 3.938 kB / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.82e-05/0.933, allocations: 19.98 kB / 1.167 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.621e-05/0.9331, allocations: 75.75 kB / 1.167 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.9333, allocations: 43.97 kB / 1.167 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.104e-05/0.9333, allocations: 19.92 kB / 1.167 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.759e-05/0.9334, allocations: 27.8 kB / 1.167 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.9334, allocations: 12 kB / 1.167 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.9334, allocations: 4 kB / 1.167 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.9335, allocations: 19.92 kB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.9335, allocations: 31.75 kB / 1.167 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.9336, allocations: 81.94 kB / 1.167 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9336, allocations: 0 / 1.167 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9336, allocations: 0 / 1.167 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.9336, allocations: 0 / 1.167 GB, free: 2.57 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.0004094/0.9341, allocations: 379.2 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.9341, allocations: 12.92 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.302e-05/0.9342, allocations: 42.73 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.9342, allocations: 12.78 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.9344, allocations: 192.2 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.9344, allocations: 8.375 kB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.9344, allocations: 4.375 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.9346, allocations: 94.38 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.9346, allocations: 3.938 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.9346, allocations: 11.94 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.9346, allocations: 0 / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.086e-05/0.9347, allocations: 39.92 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.9353, allocations: 432.5 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.434e-05/0.9353, allocations: 45.34 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.9354, allocations: 21.78 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.9354, allocations: 4 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.9354, allocations: 34.55 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 3.457e-06/0.9354, allocations: 0 / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001822/0.9356, allocations: 53.48 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.9357, allocations: 89.3 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.9359, allocations: 156.5 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.9359, allocations: 29.7 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.936, allocations: 104 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.887e-06/0.936, allocations: 7.906 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.936, allocations: 13.72 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.9361, allocations: 318.8 kB / 1.169 GB, free: 260 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.9362, allocations: 8 kB / 1.169 GB, free: 252 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.232e-05/0.9362, allocations: 21.7 kB / 1.169 GB, free: 224 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.062e-05/0.9362, allocations: 29.72 kB / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9362, allocations: 0 / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.931e-05/0.9363, allocations: 53.55 kB / 1.169 GB, free: 128 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.9363, allocations: 10.44 kB / 1.169 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9364, allocations: 4 kB / 1.169 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.9364, allocations: 8.047 kB / 1.169 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.9364, allocations: 4 kB / 1.169 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.9365, allocations: 3.938 kB / 1.169 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.9365, allocations: 7.906 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.9365, allocations: 4 kB / 1.17 GB, free: 88 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 0.0001024/0.9366, allocations: 117.8 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.9367, allocations: 11.84 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.9367, allocations: 15.81 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.9367, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9367, allocations: 4 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.9367, allocations: 4 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.9371, allocations: 466.8 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.9371, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/0.9371, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.9371, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.9371, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9372, allocations: 8 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.9372, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.649e-05/0.9373, allocations: 77.83 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.9373, allocations: 92.95 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.9374, allocations: 8.016 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.9374, allocations: 4 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.9374, allocations: 8.016 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.9374, allocations: 0 / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.178e-05/0.9375, allocations: 121.7 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9375, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001837/0.9377, allocations: 11.91 kB / 1.17 GB, free: 15.03 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.0003661/0.9381, allocations: 0.6171 MB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.9382, allocations: 15.94 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9382, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.029e-05/0.9382, allocations: 4 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.9384, allocations: 8 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.9395, allocations: 1.336 MB / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.9397, allocations: 0.6924 MB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.9397, allocations: 4.438 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.9398, allocations: 27.42 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of SimCode: time 2.044e-06/0.9398, allocations: 4 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.9575, allocations: 1.577 MB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/8.397, allocations: 12 kB / 1.175 GB, free: 10.67 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=50 --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