Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00113/0.00113, 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.001451/0.001451, allocations: 170.3 kB / 22.45 MB, free: 2.109 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.9139/0.9139, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.658/1.658, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.831e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005371/0.0054, allocations: 4.229 MB / 0.9546 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.007569, allocations: 2.445 MB / 0.957 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.007671, allocations: 0 / 0.957 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.007985, allocations: 47.62 kB / 0.9571 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.008279, allocations: 99.3 kB / 0.9572 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.009961, allocations: 0.5312 MB / 0.9577 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004224/0.01038, allocations: 243.8 kB / 0.9579 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 7.263e-05/0.01046, allocations: 5.812 kB / 0.9579 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.01198, allocations: 0.5161 MB / 0.9584 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.01219, allocations: 79.81 kB / 0.9585 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.01223, allocations: 8 kB / 0.9585 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.01356, allocations: 490.7 kB / 0.959 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.01367, allocations: 39.83 kB / 0.959 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.187e-05/0.01376, allocations: 55.91 kB / 0.9591 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0008632/0.01462, allocations: 370.9 kB / 0.9594 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.01463, allocations: 4 kB / 0.9594 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.154e-06/0.01463, allocations: 0 / 0.9594 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.01464, allocations: 0 / 0.9594 GB, free: 10.31 MB / 0.9167 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.0009674/0.01561, allocations: 445.4 kB / 0.9599 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.01566, allocations: 8.031 kB / 0.9599 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.414e-05/0.01572, allocations: 54.73 kB / 0.9599 GB, free: 9.77 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.01589, allocations: 24.83 kB / 0.9599 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.01615, allocations: 145.6 kB / 0.9601 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.01617, allocations: 12.7 kB / 0.9601 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.01618, allocations: 12.38 kB / 0.9601 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.01656, allocations: 475 kB / 0.9606 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.01657, allocations: 192 / 0.9606 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.0166, allocations: 11.94 kB / 0.9606 GB, free: 9.008 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/0.01663, allocations: 15.98 kB / 0.9606 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.01697, allocations: 423.4 kB / 0.961 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008971/0.01787, allocations: 0.8635 MB / 0.9618 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.01813, allocations: 143.5 kB / 0.962 GB, free: 7.504 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.826e-05/0.0182, allocations: 52.89 kB / 0.962 GB, free: 7.449 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005056/0.0187, allocations: 463.8 kB / 0.9625 GB, free: 6.977 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.01873, allocations: 34.56 kB / 0.9625 GB, free: 6.934 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.01873, allocations: 0 / 0.9625 GB, free: 6.934 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0002622/0.01899, allocations: 149.5 kB / 0.9626 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.01902, allocations: 51.41 kB / 0.9627 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.01914, allocations: 183.1 kB / 0.9629 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.01915, allocations: 29.69 kB / 0.9629 GB, free: 6.488 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.01922, allocations: 144.2 kB / 0.963 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.01925, allocations: 51.53 kB / 0.9631 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.01929, allocations: 57.66 kB / 0.9631 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.01937, allocations: 326.8 kB / 0.9634 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.738e-05/0.01942, allocations: 43.91 kB / 0.9635 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.739e-05/0.01952, allocations: 141.7 kB / 0.9636 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.01969, allocations: 192.1 kB / 0.9638 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01969, allocations: 0 / 0.9638 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000231/0.01992, allocations: 225.3 kB / 0.964 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.01994, allocations: 8 kB / 0.964 GB, free: 5.203 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.01995, allocations: 4 kB / 0.964 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.01997, allocations: 4 kB / 0.964 GB, free: 5.195 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.02009, allocations: 59.91 kB / 0.9641 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.0201, allocations: 4 kB / 0.9641 GB, free: 5.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.02017, allocations: 35.72 kB / 0.9641 GB, free: 5.098 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.02018, allocations: 12 kB / 0.9641 GB, free: 5.086 MB / 0.9167 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 8.975e-05/0.02027, allocations: 134 kB / 0.9643 GB, free: 4.945 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.0203, allocations: 19.91 kB / 0.9643 GB, free: 4.926 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.02051, allocations: 150.3 kB / 0.9644 GB, free: 4.773 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.02052, allocations: 7.938 kB / 0.9644 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.02053, allocations: 0 / 0.9644 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.02053, allocations: 3.938 kB / 0.9644 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.0207, allocations: 184.6 kB / 0.9646 GB, free: 4.539 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.02071, allocations: 0 / 0.9646 GB, free: 4.539 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.13e-05/0.02077, allocations: 31.98 kB / 0.9646 GB, free: 4.508 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.02077, allocations: 7.875 kB / 0.9647 GB, free: 4.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.02078, allocations: 8 kB / 0.9647 GB, free: 4.492 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.02078, allocations: 3.984 kB / 0.9647 GB, free: 4.488 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.02079, allocations: 0 / 0.9647 GB, free: 4.488 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.02096, allocations: 215.4 kB / 0.9649 GB, free: 4.262 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.02101, allocations: 35.81 kB / 0.9649 GB, free: 4.227 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.02103, allocations: 7.969 kB / 0.9649 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.02114, allocations: 15.98 kB / 0.9649 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.02116, allocations: 7.984 kB / 0.9649 GB, free: 4.195 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.02117, allocations: 15.94 kB / 0.965 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.532e-05/0.02124, allocations: 120 kB / 0.9651 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.02124, allocations: 4 kB / 0.9651 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002993/0.02154, allocations: 75.86 kB / 0.9651 GB, free: 3.984 MB / 0.9167 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.000533/0.02207, allocations: 0.8449 MB / 0.966 GB, free: 3.109 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001726/0.02224, allocations: 119 kB / 0.9661 GB, free: 2.996 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02225, allocations: 4.312 kB / 0.9661 GB, free: 2.992 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.02228, allocations: 35.92 kB / 0.9661 GB, free: 2.957 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.02259, allocations: 51.91 kB / 0.9662 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.02414, allocations: 2.014 MB / 0.9681 GB, free: 0.7148 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.929e-05/0.02421, allocations: 103.3 kB / 0.9682 GB, free: 0.5977 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.02431, allocations: 45.75 kB / 0.9683 GB, free: 0.5508 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.02437, allocations: 44.48 kB / 0.9683 GB, free: 0.5078 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.02437, allocations: 4 kB / 0.9683 GB, free: 0.5039 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.04577, allocations: 6.143 MB / 0.9743 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/6.998, allocations: 0.5 kB / 0.9743 GB, free: 10.58 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.08421360515058]