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.001697/0.001697, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00192/0.001921, allocations: 203.9 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002481/0.002482, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2634, allocations: 50.54 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4099/0.6733, allocations: 154.7 MB / 0.5503 GB, free: 0.707 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.6744, allocations: 0.6989 MB / 0.551 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.6745, allocations: 3 kB / 0.551 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.6748, allocations: 84.03 kB / 0.5511 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005536/0.6754, allocations: 290.3 kB / 0.5513 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.6779, allocations: 1.111 MB / 0.5524 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003424/0.6813, allocations: 5.6 MB / 0.5579 GB, free: 0.625 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003228/0.6816, allocations: 258.9 kB / 0.5581 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.6848, allocations: 2.181 MB / 0.5603 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003118/0.6879, allocations: 1.964 MB / 0.5622 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007383/0.6887, allocations: 239 kB / 0.5624 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004051/0.6927, allocations: 1.778 MB / 0.5641 GB, free: 492 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.6943, allocations: 1.23 MB / 0.5653 GB, free: 480 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002924/0.6973, allocations: 1.561 MB / 0.5669 GB, free: 448 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006153/0.7035, allocations: 4.565 MB / 0.5713 GB, free: 15.95 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.7035, allocations: 0 / 0.5713 GB, free: 15.95 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.7035, allocations: 0 / 0.5713 GB, free: 15.95 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001286/0.7037, allocations: 0 / 0.5713 GB, free: 15.95 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.01063/0.7143, allocations: 3.56 MB / 0.5748 GB, free: 14.78 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.7144, allocations: 7.688 kB / 0.5748 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007431/0.7151, allocations: 372.5 kB / 0.5752 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/0.7172, allocations: 337.2 kB / 0.5755 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.7203, allocations: 1.346 MB / 0.5768 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.7204, allocations: 180.2 kB / 0.577 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000602/0.721, allocations: 242.1 kB / 0.5772 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00696/0.728, allocations: 3.82 MB / 0.5809 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.607e-05/0.7281, allocations: 4.625 kB / 0.5809 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004951/0.7286, allocations: 112.4 kB / 0.581 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/0.7286, allocations: 57.47 kB / 0.5811 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00996/0.7386, allocations: 5.992 MB / 0.587 GB, free: 12.32 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.02272/0.7613, allocations: 11.23 MB / 0.5979 GB, free: 2.289 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008223/0.7696, allocations: 5.039 MB / 0.6028 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004256/0.7739, allocations: 2.404 MB / 0.6052 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007519/0.7747, allocations: 438.2 kB / 0.6056 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.7748, allocations: 94.62 kB / 0.6057 GB, free: 11.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 6.502e-06/0.7748, allocations: 0 / 0.6057 GB, free: 11.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01166/0.7865, allocations: 5.828 MB / 0.6114 GB, free: 5.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/0.7866, allocations: 90.47 kB / 0.6115 GB, free: 5.879 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.7878, allocations: 0.8713 MB / 0.6123 GB, free: 4.996 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006849/0.7886, allocations: 105.7 kB / 0.6124 GB, free: 4.887 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.789, allocations: 0.5296 MB / 0.6129 GB, free: 4.355 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001636/0.7906, allocations: 1.366 MB / 0.6143 GB, free: 3.008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.7917, allocations: 0.6294 MB / 0.6149 GB, free: 2.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.7919, allocations: 360.2 kB / 0.6152 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003058/0.795, allocations: 1.748 MB / 0.6169 GB, free: 272 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003569/0.7986, allocations: 2.26 MB / 0.6192 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007545/0.8062, allocations: 4.331 MB / 0.6234 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/0.8062, allocations: 4 kB / 0.6234 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008811/0.815, allocations: 4.598 MB / 0.6279 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.8151, allocations: 8 kB / 0.6279 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.381e-05/0.8151, allocations: 12.06 kB / 0.6279 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.766e-05/0.8152, allocations: 35.94 kB / 0.6279 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004036/0.8192, allocations: 0.7904 MB / 0.6287 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.939e-05/0.8193, allocations: 31.09 kB / 0.6287 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.822, allocations: 361.6 kB / 0.6291 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004313/0.8224, allocations: 147.9 kB / 0.6292 GB, free: 3.504 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.001738/0.8241, allocations: 0.7619 MB / 0.63 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007548/0.8249, allocations: 222.8 kB / 0.6302 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009525/0.8344, allocations: 5.17 MB / 0.6352 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/0.8345, allocations: 43.94 kB / 0.6353 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.8345, allocations: 0 / 0.6353 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.781e-05/0.8346, allocations: 19.92 kB / 0.6353 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005173/0.8398, allocations: 2.826 MB / 0.638 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/0.8398, allocations: 0 / 0.638 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003817/0.8436, allocations: 0.7256 MB / 0.6388 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-05/0.8437, allocations: 16 kB / 0.6388 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004031/0.8441, allocations: 95.95 kB / 0.6389 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.108e-05/0.8442, allocations: 15.94 kB / 0.6389 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8442, allocations: 4 kB / 0.6389 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/0.8561, allocations: 7.225 MB / 0.6459 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006553/0.8567, allocations: 330.8 kB / 0.6462 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005685/0.8573, allocations: 87.88 kB / 0.6463 GB, free: 2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002906/0.8602, allocations: 223.7 kB / 0.6465 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007197/0.861, allocations: 321.1 kB / 0.6469 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004247/0.8614, allocations: 175.9 kB / 0.647 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009404/0.8624, allocations: 0.6863 MB / 0.6477 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8624, allocations: 0 / 0.6477 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002892/0.8653, allocations: 1.089 MB / 0.6488 GB, free: 15.52 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.01313/0.8784, allocations: 8.131 MB / 0.6567 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007574/0.886, allocations: 4.299 MB / 0.6609 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/0.8861, allocations: 9 kB / 0.6609 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003778/0.8898, allocations: 2.265 MB / 0.6631 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005795/0.8957, allocations: 1.258 MB / 0.6643 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04376/0.9395, allocations: 24.65 MB / 0.6884 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/0.9411, allocations: 1.859 MB / 0.6902 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005592/0.9467, allocations: 1.764 MB / 0.692 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001987/0.9487, allocations: 0.8858 MB / 0.6928 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of SimCode: time 8.22e-07/0.9487, allocations: 0 / 0.6928 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3355/1.284, allocations: 83.37 MB / 0.7742 GB, free: 298.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/15.03, allocations: 1.062 kB / 0.7742 GB, free: 298.4 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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