Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008389/0.0008389, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8548/0.8548, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.69/1.69, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.211e-05, allocations: 12.89 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004552/0.004574, allocations: 4.221 MB / 0.9851 GB, free: 14.32 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.006245, allocations: 2.453 MB / 0.9875 GB, free: 11.86 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.006311, allocations: 4 kB / 0.9875 GB, free: 11.85 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.00657, allocations: 39.75 kB / 0.9875 GB, free: 11.81 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.006813, allocations: 107.2 kB / 0.9876 GB, free: 11.71 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009675/0.007781, allocations: 0.5114 MB / 0.9881 GB, free: 11.2 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.008004, allocations: 251.8 kB / 0.9884 GB, free: 10.95 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.008052, allocations: 13.8 kB / 0.9884 GB, free: 10.93 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.009164, allocations: 0.5198 MB / 0.9889 GB, free: 10.41 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.009265, allocations: 79.77 kB / 0.989 GB, free: 10.34 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.009286, allocations: 8 kB / 0.989 GB, free: 10.33 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006488/0.009935, allocations: 486.7 kB / 0.9895 GB, free: 9.852 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.009997, allocations: 43.88 kB / 0.9895 GB, free: 9.809 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.01005, allocations: 59.78 kB / 0.9896 GB, free: 9.75 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.01049, allocations: 366.9 kB / 0.9899 GB, free: 9.391 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01049, allocations: 4 kB / 0.9899 GB, free: 9.387 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.435e-06/0.01049, allocations: 4 kB / 0.9899 GB, free: 9.383 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.0105, allocations: 0 / 0.9899 GB, free: 9.383 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000598/0.0111, allocations: 437.5 kB / 0.9903 GB, free: 8.922 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.01113, allocations: 12.03 kB / 0.9903 GB, free: 8.91 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.01117, allocations: 46.73 kB / 0.9904 GB, free: 8.855 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.827e-05/0.01127, allocations: 24.83 kB / 0.9904 GB, free: 8.832 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.0115, allocations: 161.5 kB / 0.9906 GB, free: 8.648 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.01152, allocations: 12.7 kB / 0.9906 GB, free: 8.637 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.01153, allocations: 16.38 kB / 0.9906 GB, free: 8.621 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.01185, allocations: 467.1 kB / 0.991 GB, free: 8.094 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.01186, allocations: 192 / 0.991 GB, free: 8.094 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.01188, allocations: 7.938 kB / 0.991 GB, free: 8.086 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.0119, allocations: 11.98 kB / 0.9911 GB, free: 8.074 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.01221, allocations: 427.4 kB / 0.9915 GB, free: 7.656 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.01294, allocations: 0.8558 MB / 0.9923 GB, free: 6.738 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.01318, allocations: 153.3 kB / 0.9924 GB, free: 6.582 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.874e-05/0.01325, allocations: 56.88 kB / 0.9925 GB, free: 6.523 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004574/0.01371, allocations: 447.8 kB / 0.9929 GB, free: 6.066 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.01373, allocations: 42.55 kB / 0.993 GB, free: 6.016 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.01373, allocations: 0 / 0.993 GB, free: 6.016 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0002369/0.01397, allocations: 144.5 kB / 0.9931 GB, free: 5.871 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.014, allocations: 55.41 kB / 0.9932 GB, free: 5.805 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.0141, allocations: 180.9 kB / 0.9933 GB, free: 5.613 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.01412, allocations: 33.7 kB / 0.9934 GB, free: 5.574 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.01418, allocations: 140.2 kB / 0.9935 GB, free: 5.434 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.0142, allocations: 51.59 kB / 0.9935 GB, free: 5.383 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.01425, allocations: 53.59 kB / 0.9936 GB, free: 5.324 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.01432, allocations: 322.8 kB / 0.9939 GB, free: 5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.01437, allocations: 47.91 kB / 0.9939 GB, free: 4.953 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.547e-05/0.01446, allocations: 137.7 kB / 0.9941 GB, free: 4.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.01461, allocations: 197.5 kB / 0.9943 GB, free: 4.527 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01461, allocations: 0 / 0.9943 GB, free: 4.527 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002058/0.01482, allocations: 225.1 kB / 0.9945 GB, free: 4.301 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.01483, allocations: 4 kB / 0.9945 GB, free: 4.297 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.01484, allocations: 4 kB / 0.9945 GB, free: 4.293 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01485, allocations: 4 kB / 0.9945 GB, free: 4.289 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.01496, allocations: 64.38 kB / 0.9946 GB, free: 4.227 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.01497, allocations: 11.98 kB / 0.9946 GB, free: 4.215 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.01503, allocations: 27.78 kB / 0.9946 GB, free: 4.188 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.01504, allocations: 15.94 kB / 0.9946 GB, free: 4.172 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.314e-05/0.01512, allocations: 137.7 kB / 0.9947 GB, free: 4.027 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.01514, allocations: 19.89 kB / 0.9948 GB, free: 4.008 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.01534, allocations: 157.6 kB / 0.9949 GB, free: 3.84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.01535, allocations: 0 / 0.9949 GB, free: 3.84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01535, allocations: 0 / 0.9949 GB, free: 3.84 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.01536, allocations: 3.938 kB / 0.9949 GB, free: 3.836 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.01551, allocations: 184.7 kB / 0.9951 GB, free: 3.613 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01551, allocations: 4 kB / 0.9951 GB, free: 3.609 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.01557, allocations: 35.92 kB / 0.9951 GB, free: 3.574 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01557, allocations: 0 / 0.9951 GB, free: 3.574 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.01558, allocations: 4 kB / 0.9951 GB, free: 3.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01558, allocations: 0 / 0.9951 GB, free: 3.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01558, allocations: 4 kB / 0.9951 GB, free: 3.566 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.01573, allocations: 215.3 kB / 0.9953 GB, free: 3.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.01602, allocations: 35.8 kB / 0.9954 GB, free: 3.305 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.01604, allocations: 8 kB / 0.9954 GB, free: 3.297 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.01614, allocations: 15.98 kB / 0.9954 GB, free: 3.281 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.01616, allocations: 11.98 kB / 0.9954 GB, free: 3.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.01617, allocations: 7.938 kB / 0.9954 GB, free: 3.262 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.536e-05/0.01623, allocations: 125.6 kB / 0.9955 GB, free: 3.141 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01623, allocations: 0 / 0.9955 GB, free: 3.141 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002517/0.01648, allocations: 83.81 kB / 0.9956 GB, free: 3.059 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0004937/0.01697, allocations: 0.8478 MB / 0.9964 GB, free: 2.188 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.01713, allocations: 111.8 kB / 0.9966 GB, free: 2.078 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01713, allocations: 0 / 0.9966 GB, free: 2.078 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.01717, allocations: 47.86 kB / 0.9966 GB, free: 2.031 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.01745, allocations: 52.83 kB / 0.9966 GB, free: 1.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.01887, allocations: 2 MB / 0.9986 GB, free: 15.81 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.087e-05/0.01894, allocations: 99.27 kB / 0.9987 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.01904, allocations: 45.75 kB / 0.9987 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.0191, allocations: 44.48 kB / 0.9988 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.0191, allocations: 0 / 0.9988 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.03634, allocations: 6.147 MB / 1.005 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.581/6.617, allocations: 12.34 kB / 1.005 GB, free: 9.668 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.520183239132166]