Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MoistAir.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.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",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.001417/0.001417, allocations: 106.5 kB / 17.73 MB, free: 5.367 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.001608/0.001609, allocations: 191 kB / 18.66 MB, free: 4.445 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.31/1.31, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001268/0.001268, allocations: 51.92 kB / 328 MB, free: 3.844 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08071/0.08199, allocations: 46.62 MB / 374.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3288/0.4108, allocations: 152.7 MB / 0.515 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.4118, allocations: 0.5915 MB / 0.5156 GB, free: 6.105 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.4119, allocations: 0 / 0.5156 GB, free: 6.105 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003749/0.4123, allocations: 67.64 kB / 0.5156 GB, free: 6.039 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003836/0.4127, allocations: 151.1 kB / 0.5158 GB, free: 5.891 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.4158, allocations: 1.076 MB / 0.5168 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.4162, allocations: 322.9 kB / 0.5171 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.4163, allocations: 13.45 kB / 0.5171 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.4165, allocations: 163.3 kB / 0.5173 GB, free: 4.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.4168, allocations: 119.7 kB / 0.5174 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.4168, allocations: 12 kB / 0.5174 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.4198, allocations: 1.614 MB / 0.519 GB, free: 2.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.42, allocations: 71.84 kB / 0.5191 GB, free: 2.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.4201, allocations: 95.64 kB / 0.5192 GB, free: 2.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.4219, allocations: 0.994 MB / 0.5201 GB, free: 1.414 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4219, allocations: 0 / 0.5201 GB, free: 1.414 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4219, allocations: 0 / 0.5201 GB, free: 1.414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.4219, allocations: 0 / 0.5201 GB, free: 1.414 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001634/0.4236, allocations: 0.6793 MB / 0.5208 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4236, allocations: 8.031 kB / 0.5208 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.167e-05/0.4237, allocations: 54.67 kB / 0.5209 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.4238, allocations: 20.75 kB / 0.5209 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.4241, allocations: 211.8 kB / 0.5211 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.4241, allocations: 24.25 kB / 0.5211 GB, free: 336 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.4242, allocations: 15.98 kB / 0.5211 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.4248, allocations: 261.4 kB / 0.5214 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.4248, allocations: 3.906 kB / 0.5214 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.4248, allocations: 8 kB / 0.5214 GB, free: 36 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.4249, allocations: 11.98 kB / 0.5214 GB, free: 24 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007361/0.4256, allocations: 263.7 kB / 0.5216 GB, free: 15.77 MB / 462.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.001486/0.4271, allocations: 0.7938 MB / 0.5224 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.4278, allocations: 217.2 kB / 0.5226 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.4282, allocations: 137.6 kB / 0.5228 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/0.4285, allocations: 356.4 kB / 0.5231 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4285, allocations: 42.5 kB / 0.5231 GB, free: 14.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.4286, allocations: 0 / 0.5231 GB, free: 14.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002456/0.431, allocations: 0.6777 MB / 0.5238 GB, free: 13.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.4311, allocations: 81.11 kB / 0.5239 GB, free: 13.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/0.4312, allocations: 117.8 kB / 0.524 GB, free: 13.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.4313, allocations: 37.64 kB / 0.524 GB, free: 13.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.4314, allocations: 104.8 kB / 0.5241 GB, free: 13 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.4315, allocations: 130.1 kB / 0.5242 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.4317, allocations: 69.64 kB / 0.5243 GB, free: 12.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4318, allocations: 330.8 kB / 0.5246 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.4321, allocations: 135.9 kB / 0.5248 GB, free: 12.33 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.4326, allocations: 200.2 kB / 0.5249 GB, free: 12.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000809/0.4334, allocations: 355.4 kB / 0.5253 GB, free: 11.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.4334, allocations: 4 kB / 0.5253 GB, free: 11.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001035/0.4345, allocations: 409.4 kB / 0.5257 GB, free: 11.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4345, allocations: 12.03 kB / 0.5257 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.4345, allocations: 4.375 kB / 0.5257 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4345, allocations: 6.188 kB / 0.5257 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.435, allocations: 87.88 kB / 0.5258 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.435, allocations: 9.578 kB / 0.5258 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.4353, allocations: 31.81 kB / 0.5258 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.4354, allocations: 16 kB / 0.5258 GB, free: 11.16 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001894/0.4356, allocations: 149.6 kB / 0.526 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-05/0.4357, allocations: 19.81 kB / 0.526 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.436, allocations: 175.7 kB / 0.5262 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.4361, allocations: 4 kB / 0.5262 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.4361, allocations: 3.984 kB / 0.5262 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4361, allocations: 3.938 kB / 0.5262 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.4378, allocations: 0.7553 MB / 0.5269 GB, free: 9.973 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4378, allocations: 3.938 kB / 0.5269 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.4383, allocations: 80.03 kB / 0.527 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.4383, allocations: 4 kB / 0.527 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.4384, allocations: 8 kB / 0.527 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4384, allocations: 7.984 kB / 0.527 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4384, allocations: 7.938 kB / 0.527 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.4399, allocations: 0.7033 MB / 0.5277 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.4401, allocations: 125.5 kB / 0.5278 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.4401, allocations: 8 kB / 0.5278 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.4405, allocations: 19.97 kB / 0.5279 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.4406, allocations: 31.97 kB / 0.5279 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.4406, allocations: 12 kB / 0.5279 GB, free: 8.918 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.819e-05/0.4407, allocations: 99.27 kB / 0.528 GB, free: 8.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4407, allocations: 0 / 0.528 GB, free: 8.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000577/0.4412, allocations: 135.9 kB / 0.5281 GB, free: 8.688 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.002081/0.4433, allocations: 1.392 MB / 0.5295 GB, free: 7.258 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009045/0.4442, allocations: 348.8 kB / 0.5298 GB, free: 6.918 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4443, allocations: 0 / 0.5298 GB, free: 6.918 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000413/0.4447, allocations: 180.3 kB / 0.53 GB, free: 6.742 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007045/0.4454, allocations: 93.69 kB / 0.5301 GB, free: 6.652 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004919/0.4503, allocations: 2.821 MB / 0.5328 GB, free: 3.676 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.4509, allocations: 0.7371 MB / 0.5336 GB, free: 2.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004155/0.4513, allocations: 73.89 kB / 0.5336 GB, free: 2.836 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.4515, allocations: 63.41 kB / 0.5337 GB, free: 2.773 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4515, allocations: 0 / 0.5337 GB, free: 2.773 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.4806, allocations: 8.329 MB / 0.5418 GB, free: 10.39 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.577, allocations: 11.84 kB / 0.5418 GB, free: 10.38 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches