Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.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 3.2.3+maint.om/package.mo", uses=false) 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 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(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData",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.0009221/0.0009221, allocations: 103.2 kB / 17.16 MB, free: 6.32 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.0008773/0.0008774, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.148/1.148, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001043, allocations: 55.92 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07868/0.07973, allocations: 46.62 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3324/0.4122, allocations: 151 MB / 477.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.4139, allocations: 0.9884 MB / 478.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.12e-05/0.4139, allocations: 4 kB / 478.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.4144, allocations: 74.61 kB / 478.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000523/0.4149, allocations: 277.8 kB / 479 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.4181, allocations: 1.137 MB / 480.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005779/0.4239, allocations: 7.137 MB / 487.3 MB, free: 6.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.4243, allocations: 260 kB / 487.5 MB, free: 6.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003629/0.4279, allocations: 1.905 MB / 489.4 MB, free: 4.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002876/0.4308, allocations: 1.955 MB / 491.4 MB, free: 2.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000523/0.4314, allocations: 144 kB / 491.5 MB, free: 2.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003846/0.4352, allocations: 1.837 MB / 493.4 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.4364, allocations: 1.075 MB / 494.4 MB, free: 15.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002164/0.4386, allocations: 1.424 MB / 495.9 MB, free: 14.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005827/0.4444, allocations: 4.507 MB / 0.4886 GB, free: 9.738 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4445, allocations: 0 / 0.4886 GB, free: 9.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4445, allocations: 0 / 0.4886 GB, free: 9.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.291e-05/0.4446, allocations: 4 kB / 0.4886 GB, free: 9.734 MB / 398.1 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.009135/0.4537, allocations: 3.519 MB / 0.4921 GB, free: 6.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.4538, allocations: 8.031 kB / 0.4921 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005411/0.4543, allocations: 373.9 kB / 0.4924 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.4562, allocations: 326.2 kB / 0.4927 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.4586, allocations: 1.324 MB / 0.494 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.4587, allocations: 180.9 kB / 0.4942 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003617/0.4591, allocations: 243.9 kB / 0.4944 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006114/0.4652, allocations: 3.819 MB / 0.4982 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.65e-05/0.4653, allocations: 4 kB / 0.4982 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000365/0.4657, allocations: 112 kB / 0.4983 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/0.4657, allocations: 60 kB / 0.4983 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008306/0.474, allocations: 5.986 MB / 0.5042 GB, free: 9.625 MB / 414.1 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.01863/0.4927, allocations: 11.18 MB / 0.5151 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00702/0.4997, allocations: 5.038 MB / 0.52 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003645/0.5034, allocations: 2.412 MB / 0.5224 GB, free: 6.121 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000628/0.5041, allocations: 439.3 kB / 0.5228 GB, free: 5.617 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.266e-05/0.5042, allocations: 90.62 kB / 0.5229 GB, free: 5.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 5.079e-06/0.5042, allocations: 0 / 0.5229 GB, free: 5.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.00923/0.5134, allocations: 5.812 MB / 0.5286 GB, free: 15.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.5135, allocations: 98.41 kB / 0.5287 GB, free: 15.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.5146, allocations: 0.8674 MB / 0.5295 GB, free: 14.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003888/0.515, allocations: 105.7 kB / 0.5296 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.5153, allocations: 0.5188 MB / 0.5301 GB, free: 14.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001086/0.5164, allocations: 1.301 MB / 0.5314 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008911/0.5173, allocations: 0.6254 MB / 0.532 GB, free: 12.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5175, allocations: 357.9 kB / 0.5323 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002728/0.5202, allocations: 1.751 MB / 0.534 GB, free: 10 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003068/0.5233, allocations: 2.254 MB / 0.5362 GB, free: 7.594 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006786/0.5301, allocations: 4.329 MB / 0.5405 GB, free: 3.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.117e-05/0.5302, allocations: 7.938 kB / 0.5405 GB, free: 3.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.1661/0.6963, allocations: 4.58 MB / 0.545 GB, free: 176 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.073e-05/0.6964, allocations: 10.39 kB / 0.545 GB, free: 176 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.403e-05/0.6965, allocations: 11.12 kB / 0.545 GB, free: 176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.61e-05/0.6966, allocations: 26.81 kB / 0.545 GB, free: 176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004459/0.7011, allocations: 0.7873 MB / 0.5458 GB, free: 176 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.573e-05/0.7011, allocations: 44.06 kB / 0.5458 GB, free: 176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/0.7042, allocations: 423.5 kB / 0.5462 GB, free: 176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006303/0.7049, allocations: 147.3 kB / 0.5464 GB, free: 176 MB / 446.1 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[11],fog[10],fog[9],fog[8],fog[7],fog[6],fog[5],fog[4],fog[3],fog[2],fog[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00177/0.7067, allocations: 0.7597 MB / 0.5471 GB, free: 175.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006719/0.7074, allocations: 206.7 kB / 0.5473 GB, free: 175.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009707/0.7171, allocations: 5.18 MB / 0.5524 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.965e-05/0.7171, allocations: 45.25 kB / 0.5524 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.7172, allocations: 0 / 0.5524 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.441e-05/0.7172, allocations: 26.14 kB / 0.5524 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004839/0.7221, allocations: 2.821 MB / 0.5552 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.7221, allocations: 0 / 0.5552 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003462/0.7256, allocations: 0.7276 MB / 0.5559 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-05/0.7256, allocations: 17.31 kB / 0.5559 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002705/0.7259, allocations: 89.83 kB / 0.556 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.256e-05/0.7259, allocations: 16.38 kB / 0.556 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.7259, allocations: 0 / 0.556 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009912/0.7359, allocations: 7.219 MB / 0.5631 GB, free: 170.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008959/0.7368, allocations: 319.5 kB / 0.5634 GB, free: 170.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003948/0.7372, allocations: 82.44 kB / 0.5634 GB, free: 170.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/0.7401, allocations: 300.5 kB / 0.5637 GB, free: 169.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005908/0.7407, allocations: 313.5 kB / 0.564 GB, free: 169.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003708/0.7411, allocations: 174.5 kB / 0.5642 GB, free: 169.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007129/0.7418, allocations: 0.6868 MB / 0.5649 GB, free: 169.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7419, allocations: 0 / 0.5649 GB, free: 169.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002464/0.7443, allocations: 1.09 MB / 0.5659 GB, free: 168.2 MB / 446.1 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 (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.009266/0.7536, allocations: 8.14 MB / 0.5739 GB, free: 160.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005497/0.7591, allocations: 4.271 MB / 0.578 GB, free: 155.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.7592, allocations: 9 kB / 0.5781 GB, free: 155.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002642/0.7618, allocations: 2.263 MB / 0.5803 GB, free: 153.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005916/0.7677, allocations: 1.235 MB / 0.5815 GB, free: 152.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03942/0.8072, allocations: 27.47 MB / 0.6083 GB, free: 123.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.8086, allocations: 1.846 MB / 0.6101 GB, free: 121.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006295/0.8149, allocations: 1.764 MB / 0.6118 GB, free: 119.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/0.8168, allocations: 0.8894 MB / 0.6127 GB, free: 118.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.373e-06/0.8168, allocations: 0 / 0.6127 GB, free: 118.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/0.9191, allocations: 79.98 MB / 0.6908 GB, free: 38.64 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.9192, allocations: 236.3 kB / 0.691 GB, free: 38.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.279/5.199, allocations: 64 / 0.691 GB, free: 38.38 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches