Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009429/0.0009428, allocations: 175.9 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.187/1.187, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006846/0.0006846, allocations: 82.42 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.0002688, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1775, allocations: 47.57 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2842/0.4617, allocations: 138.9 MB / 0.502 GB, free: 1.277 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.4628, allocations: 0.9011 MB / 0.5029 GB, free: 1.262 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.859e-05/0.4629, allocations: 2.906 kB / 0.5029 GB, free: 1.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.4632, allocations: 70.62 kB / 0.503 GB, free: 1.258 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.4636, allocations: 273.4 kB / 0.5032 GB, free: 1.246 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.4662, allocations: 1.093 MB / 0.5043 GB, free: 1.195 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004006/0.4702, allocations: 5.99 MB / 0.5101 GB, free: 1.172 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004019/0.4706, allocations: 268.3 kB / 0.5104 GB, free: 1.055 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.4736, allocations: 1.911 MB / 0.5123 GB, free: 1.055 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002907/0.4765, allocations: 2.042 MB / 0.5143 GB, free: 1.031 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005139/0.477, allocations: 141.7 kB / 0.5144 GB, free: 1.031 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/0.4807, allocations: 1.805 MB / 0.5162 GB, free: 1.012 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009968/0.4817, allocations: 1.091 MB / 0.5172 GB, free: 1.012 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001909/0.4836, allocations: 1.401 MB / 0.5186 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004383/0.488, allocations: 3.48 MB / 0.522 GB, free: 0 / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.488, allocations: 128 / 0.522 GB, free: 0 / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.488, allocations: 64 / 0.522 GB, free: 0 / 378.7 MB Notification: Performance of Transformations before backend: time 6.87e-05/0.4881, allocations: 0 / 0.522 GB, free: 0 / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.00748/0.4956, allocations: 2.904 MB / 0.5248 GB, free: 14.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4956, allocations: 8.844 kB / 0.5248 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000607/0.4962, allocations: 378.9 kB / 0.5252 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.4978, allocations: 326.3 kB / 0.5255 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002221/0.5, allocations: 1.327 MB / 0.5268 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.595e-05/0.5001, allocations: 184.1 kB / 0.527 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/0.5005, allocations: 239.9 kB / 0.5272 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005181/0.5057, allocations: 3.802 MB / 0.5309 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.5057, allocations: 0 / 0.5309 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003032/0.506, allocations: 113.2 kB / 0.531 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.5061, allocations: 57.97 kB / 0.5311 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007207/0.5133, allocations: 5.975 MB / 0.5369 GB, free: 10.97 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01811/0.5314, allocations: 11.19 MB / 0.5479 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006225/0.5377, allocations: 5.021 MB / 0.5528 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003019/0.5407, allocations: 2.392 MB / 0.5551 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005527/0.5413, allocations: 440 kB / 0.5555 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.909e-05/0.5414, allocations: 93.38 kB / 0.5556 GB, free: 11.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=390): time 4.889e-06/0.5414, allocations: 0 / 0.5556 GB, free: 11.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=390): time 0.008404/0.5498, allocations: 5.783 MB / 0.5612 GB, free: 6.941 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.5499, allocations: 98.41 kB / 0.5613 GB, free: 6.832 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009516/0.5508, allocations: 0.8676 MB / 0.5622 GB, free: 6.145 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000302/0.5512, allocations: 101.2 kB / 0.5623 GB, free: 6.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.5515, allocations: 0.5177 MB / 0.5628 GB, free: 5.699 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009029/0.5524, allocations: 1.302 MB / 0.5641 GB, free: 4.582 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.5526, allocations: 68 kB / 0.5641 GB, free: 4.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002364/0.5528, allocations: 0.497 MB / 0.5646 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/0.5552, allocations: 1.734 MB / 0.5663 GB, free: 2.816 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002709/0.558, allocations: 2.241 MB / 0.5685 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005561/0.5635, allocations: 4.323 MB / 0.5727 GB, free: 13.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.5636, allocations: 4 kB / 0.5727 GB, free: 13.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006511/0.5701, allocations: 4.555 MB / 0.5772 GB, free: 10.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5701, allocations: 11.94 kB / 0.5772 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.5701, allocations: 12.84 kB / 0.5772 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/0.5702, allocations: 28 kB / 0.5772 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003336/0.5735, allocations: 0.796 MB / 0.578 GB, free: 9.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.882e-05/0.5736, allocations: 36.98 kB / 0.578 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.5759, allocations: 424.2 kB / 0.5784 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/0.5761, allocations: 148.7 kB / 0.5786 GB, free: 8.879 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001217/0.5774, allocations: 0.7531 MB / 0.5793 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/0.5778, allocations: 213.8 kB / 0.5795 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007775/0.5855, allocations: 5.154 MB / 0.5845 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.5856, allocations: 40 kB / 0.5846 GB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.5856, allocations: 3.938 kB / 0.5846 GB, free: 4.336 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-05/0.5856, allocations: 23.92 kB / 0.5846 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/0.5897, allocations: 2.822 MB / 0.5874 GB, free: 2.145 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.5897, allocations: 0 / 0.5874 GB, free: 2.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003133/0.5928, allocations: 0.7308 MB / 0.5881 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.115e-05/0.5928, allocations: 12 kB / 0.5881 GB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/0.593, allocations: 90.97 kB / 0.5882 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.837e-05/0.5931, allocations: 20 kB / 0.5882 GB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5931, allocations: 7.922 kB / 0.5882 GB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009215/0.6023, allocations: 7.184 MB / 0.5952 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005494/0.6029, allocations: 351.5 kB / 0.5956 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.6032, allocations: 75.67 kB / 0.5956 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002794/0.606, allocations: 297 kB / 0.5959 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007517/0.6067, allocations: 316.7 kB / 0.5962 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003313/0.6071, allocations: 178.9 kB / 0.5964 GB, free: 10.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007561/0.6078, allocations: 0.6782 MB / 0.597 GB, free: 10.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6078, allocations: 0 / 0.597 GB, free: 10.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002209/0.6101, allocations: 1.086 MB / 0.5981 GB, free: 9.492 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01037/0.6204, allocations: 8.101 MB / 0.606 GB, free: 3.309 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005917/0.6264, allocations: 4.255 MB / 0.6102 GB, free: 24 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/0.6264, allocations: 5 kB / 0.6102 GB, free: 20 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00281/0.6292, allocations: 2.251 MB / 0.6124 GB, free: 14.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005297/0.6345, allocations: 1.238 MB / 0.6136 GB, free: 13.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02633/0.6609, allocations: 18.63 MB / 0.6318 GB, free: 12.92 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.6621, allocations: 1.851 MB / 0.6336 GB, free: 11.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/0.6639, allocations: 0.9149 MB / 0.6345 GB, free: 10.75 MB / 474.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6639, allocations: 0 / 0.6345 GB, free: 10.75 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.888/7.552, allocations: 44.25 MB / 0.6777 GB, free: 229.2 MB / 0.4948 GB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches