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.001158/0.001158, allocations: 109.5 kB / 17.73 MB, free: 5.34 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.001187/0.001187, allocations: 192.1 kB / 18.66 MB, free: 4.418 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.285/1.285, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001307/0.001307, allocations: 52.39 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08509/0.08641, allocations: 46.62 MB / 374.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3207/0.4072, allocations: 153.1 MB / 0.5154 GB, free: 6.266 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.4089, allocations: 0.9508 MB / 0.5163 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.4091, allocations: 0 / 0.5163 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.4096, allocations: 79.5 kB / 0.5164 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007103/0.4103, allocations: 294.6 kB / 0.5167 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003671/0.414, allocations: 1.316 MB / 0.518 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004741/0.4187, allocations: 5.593 MB / 0.5234 GB, free: 14.02 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003718/0.4191, allocations: 257.7 kB / 0.5237 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003418/0.4226, allocations: 2.234 MB / 0.5259 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003307/0.4259, allocations: 1.967 MB / 0.5278 GB, free: 9.531 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.427, allocations: 240 kB / 0.528 GB, free: 9.297 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004738/0.4317, allocations: 1.927 MB / 0.5299 GB, free: 7.367 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002034/0.4338, allocations: 1.224 MB / 0.5311 GB, free: 6.141 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003325/0.4372, allocations: 1.565 MB / 0.5326 GB, free: 4.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006985/0.4442, allocations: 4.632 MB / 0.5371 GB, free: 15.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4442, allocations: 0 / 0.5371 GB, free: 15.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4442, allocations: 0 / 0.5371 GB, free: 15.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001761/0.4444, allocations: 0 / 0.5371 GB, free: 15.93 MB / 478.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.01112/0.4555, allocations: 3.515 MB / 0.5406 GB, free: 12.35 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.4556, allocations: 11.97 kB / 0.5406 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001206/0.4568, allocations: 374 kB / 0.5409 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/0.4594, allocations: 328.2 kB / 0.5412 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00411/0.4635, allocations: 1.343 MB / 0.5426 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.4638, allocations: 176.9 kB / 0.5427 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.4648, allocations: 244 kB / 0.543 GB, free: 9.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008832/0.4737, allocations: 3.819 MB / 0.5467 GB, free: 5.973 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.984e-05/0.4738, allocations: 0 / 0.5467 GB, free: 5.973 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007386/0.4746, allocations: 119.9 kB / 0.5468 GB, free: 5.855 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.107e-05/0.4746, allocations: 60 kB / 0.5469 GB, free: 5.797 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1973/0.6719, allocations: 5.979 MB / 0.5527 GB, free: 164.6 MB / 478.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.02367/0.6956, allocations: 11.21 MB / 0.5636 GB, free: 159.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007987/0.7037, allocations: 5.041 MB / 0.5686 GB, free: 157.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004037/0.7077, allocations: 2.407 MB / 0.5709 GB, free: 156.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007479/0.7085, allocations: 441.9 kB / 0.5713 GB, free: 156.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.7087, allocations: 98.12 kB / 0.5714 GB, free: 156.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.382e-06/0.7087, allocations: 0 / 0.5714 GB, free: 156.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01157/0.7202, allocations: 5.811 MB / 0.5771 GB, free: 153.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.7204, allocations: 92.08 kB / 0.5772 GB, free: 153.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.7215, allocations: 0.8732 MB / 0.578 GB, free: 153.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000505/0.722, allocations: 99.7 kB / 0.5781 GB, free: 153.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.7223, allocations: 0.5217 MB / 0.5787 GB, free: 152.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008983/0.7232, allocations: 1.304 MB / 0.5799 GB, free: 151.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007862/0.724, allocations: 0.6279 MB / 0.5805 GB, free: 151.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.7241, allocations: 356.7 kB / 0.5809 GB, free: 151 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/0.7264, allocations: 1.745 MB / 0.5826 GB, free: 150.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002557/0.7289, allocations: 2.261 MB / 0.5848 GB, free: 148.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005414/0.7344, allocations: 4.328 MB / 0.589 GB, free: 145.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/0.7344, allocations: 4 kB / 0.589 GB, free: 145.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007116/0.7415, allocations: 4.592 MB / 0.5935 GB, free: 140.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.7416, allocations: 8 kB / 0.5935 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.7416, allocations: 13.64 kB / 0.5935 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.818e-05/0.7417, allocations: 28 kB / 0.5936 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003399/0.7451, allocations: 0.7892 MB / 0.5943 GB, free: 139.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-05/0.7452, allocations: 31.94 kB / 0.5944 GB, free: 139.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/0.7475, allocations: 362.6 kB / 0.5947 GB, free: 139.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004162/0.748, allocations: 147.9 kB / 0.5948 GB, free: 139.2 MB / 478.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.001476/0.7494, allocations: 0.7582 MB / 0.5956 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007767/0.7502, allocations: 217.7 kB / 0.5958 GB, free: 138.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007802/0.758, allocations: 5.163 MB / 0.6008 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.7581, allocations: 40 kB / 0.6009 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.7581, allocations: 0 / 0.6009 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-05/0.7582, allocations: 24.84 kB / 0.6009 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003986/0.7622, allocations: 2.824 MB / 0.6037 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.7622, allocations: 0 / 0.6037 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003197/0.7654, allocations: 0.7332 MB / 0.6044 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-05/0.7655, allocations: 16 kB / 0.6044 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000351/0.7658, allocations: 95.97 kB / 0.6045 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.473e-05/0.7659, allocations: 12.56 kB / 0.6045 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.7659, allocations: 0 / 0.6045 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009184/0.7751, allocations: 7.218 MB / 0.6115 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005466/0.7756, allocations: 317.9 kB / 0.6118 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004934/0.7761, allocations: 83.83 kB / 0.6119 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003071/0.7792, allocations: 224.4 kB / 0.6121 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006527/0.7799, allocations: 314.9 kB / 0.6124 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005392/0.7804, allocations: 175.9 kB / 0.6126 GB, free: 120.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007628/0.7812, allocations: 0.6902 MB / 0.6133 GB, free: 120.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7812, allocations: 0 / 0.6133 GB, free: 120.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002731/0.784, allocations: 1.084 MB / 0.6143 GB, free: 119.2 MB / 478.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.01064/0.7946, allocations: 8.149 MB / 0.6223 GB, free: 111 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006191/0.8009, allocations: 4.305 MB / 0.6265 GB, free: 106.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.8009, allocations: 5 kB / 0.6265 GB, free: 106.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003179/0.8041, allocations: 2.267 MB / 0.6287 GB, free: 104.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00681/0.8109, allocations: 1.241 MB / 0.6299 GB, free: 103.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03659/0.8476, allocations: 24.57 MB / 0.6539 GB, free: 78.03 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009029/0.8485, allocations: 1.85 MB / 0.6557 GB, free: 76.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004532/0.853, allocations: 1.775 MB / 0.6575 GB, free: 74.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001625/0.8547, allocations: 0.8858 MB / 0.6583 GB, free: 73.47 MB / 478.1 MB Notification: Performance of SimCode: time 9.61e-07/0.8547, allocations: 0 / 0.6583 GB, free: 73.47 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.275/1.13, allocations: 84.86 MB / 0.7412 GB, free: 152.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.69, allocations: 4.969 kB / 0.7412 GB, free: 152.2 MB / 478.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches