Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.88 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2443, allocations: 50.54 MB / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4221/0.6664, allocations: 154.7 MB / 0.5503 GB, free: 0.707 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009753/0.6675, allocations: 0.6895 MB / 0.551 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.498e-05/0.6676, allocations: 3.688 kB / 0.551 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.6679, allocations: 92.11 kB / 0.551 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004642/0.6684, allocations: 290.7 kB / 0.5513 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.6706, allocations: 1.117 MB / 0.5524 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003295/0.6739, allocations: 5.596 MB / 0.5579 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.6742, allocations: 257 kB / 0.5581 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/0.6769, allocations: 2.238 MB / 0.5603 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002603/0.6795, allocations: 1.967 MB / 0.5622 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005303/0.68, allocations: 237.5 kB / 0.5625 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.6833, allocations: 1.778 MB / 0.5642 GB, free: 492 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.6844, allocations: 1.222 MB / 0.5654 GB, free: 484 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002179/0.6866, allocations: 1.561 MB / 0.5669 GB, free: 452 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004333/0.6909, allocations: 4.56 MB / 0.5714 GB, free: 15.97 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.691, allocations: 4 kB / 0.5714 GB, free: 15.96 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.691, allocations: 0 / 0.5714 GB, free: 15.96 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.378e-05/0.6911, allocations: 2.781 kB / 0.5714 GB, free: 15.96 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.008905/0.7, allocations: 3.49 MB / 0.5748 GB, free: 14.86 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.7, allocations: 9.906 kB / 0.5748 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004866/0.7005, allocations: 373.1 kB / 0.5751 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.7022, allocations: 327.8 kB / 0.5755 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003075/0.7053, allocations: 1.344 MB / 0.5768 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.7054, allocations: 180.5 kB / 0.5769 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000386/0.7058, allocations: 243.5 kB / 0.5772 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005656/0.7115, allocations: 3.838 MB / 0.5809 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.272e-05/0.7115, allocations: 0 / 0.5809 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000351/0.7119, allocations: 113.6 kB / 0.581 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.7119, allocations: 58.03 kB / 0.5811 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0083/0.7203, allocations: 5.98 MB / 0.5869 GB, free: 12.41 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.02212/0.7424, allocations: 11.21 MB / 0.5979 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007674/0.7501, allocations: 5.034 MB / 0.6028 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003671/0.7538, allocations: 2.408 MB / 0.6051 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006243/0.7545, allocations: 436.3 kB / 0.6056 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/0.7546, allocations: 102.2 kB / 0.6057 GB, free: 11.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 6.503e-06/0.7546, allocations: 0 / 0.6057 GB, free: 11.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.009871/0.7645, allocations: 5.816 MB / 0.6113 GB, free: 6.078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.7646, allocations: 90.47 kB / 0.6114 GB, free: 5.977 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.7657, allocations: 0.8674 MB / 0.6123 GB, free: 5.098 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003907/0.7661, allocations: 101.7 kB / 0.6124 GB, free: 4.992 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/0.7664, allocations: 0.525 MB / 0.6129 GB, free: 4.461 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.7674, allocations: 1.303 MB / 0.6141 GB, free: 3.172 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008814/0.7683, allocations: 0.6284 MB / 0.6148 GB, free: 2.539 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7684, allocations: 357.9 kB / 0.6151 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/0.771, allocations: 1.74 MB / 0.6168 GB, free: 452 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002916/0.774, allocations: 2.264 MB / 0.619 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005871/0.7798, allocations: 4.324 MB / 0.6232 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.7799, allocations: 12 kB / 0.6232 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00694/0.7868, allocations: 4.586 MB / 0.6277 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.7869, allocations: 10.66 kB / 0.6277 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.7869, allocations: 12 kB / 0.6277 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.814e-05/0.7869, allocations: 31.94 kB / 0.6278 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003396/0.7903, allocations: 0.7905 MB / 0.6286 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.871e-05/0.7904, allocations: 28.31 kB / 0.6286 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/0.7927, allocations: 372.5 kB / 0.6289 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002893/0.793, allocations: 146.3 kB / 0.6291 GB, free: 3.691 MB / 0.4981 GB 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.001371/0.7943, allocations: 0.7567 MB / 0.6298 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005661/0.7949, allocations: 213.7 kB / 0.63 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008342/0.8033, allocations: 5.166 MB / 0.6351 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.468e-05/0.8033, allocations: 43.94 kB / 0.6351 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.8033, allocations: 0 / 0.6351 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-05/0.8034, allocations: 19.92 kB / 0.6351 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004419/0.8078, allocations: 2.823 MB / 0.6379 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.8079, allocations: 7.984 kB / 0.6379 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003344/0.8112, allocations: 0.7269 MB / 0.6386 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.482e-05/0.8113, allocations: 16 kB / 0.6386 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002821/0.8115, allocations: 91.95 kB / 0.6387 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.818e-05/0.8116, allocations: 15.94 kB / 0.6387 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.8116, allocations: 0 / 0.6387 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/0.8224, allocations: 7.225 MB / 0.6458 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007332/0.8232, allocations: 314 kB / 0.6461 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000391/0.8236, allocations: 87.83 kB / 0.6462 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/0.8265, allocations: 223.7 kB / 0.6464 GB, free: 2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005735/0.8271, allocations: 314.9 kB / 0.6467 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003813/0.8275, allocations: 175.9 kB / 0.6468 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008251/0.8283, allocations: 0.6863 MB / 0.6475 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8283, allocations: 0 / 0.6475 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002451/0.8308, allocations: 1.085 MB / 0.6486 GB, free: 15.75 MB / 0.5294 GB 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.01144/0.8422, allocations: 8.118 MB / 0.6565 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006945/0.8492, allocations: 4.297 MB / 0.6607 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/0.8492, allocations: 9 kB / 0.6607 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00353/0.8528, allocations: 2.269 MB / 0.6629 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006794/0.8596, allocations: 1.251 MB / 0.6641 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04328/0.9029, allocations: 24.57 MB / 0.6881 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/0.9043, allocations: 1.848 MB / 0.6899 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004791/0.9091, allocations: 1.768 MB / 0.6917 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/0.9108, allocations: 0.8898 MB / 0.6925 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.9108, allocations: 0 / 0.6925 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3439/1.255, allocations: 84.68 MB / 0.7752 GB, free: 297.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/14.43, allocations: 3.406 kB / 0.7752 GB, free: 297.8 MB / 0.6231 GB (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches