Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.001465/0.001465, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001604/0.001604, allocations: 195.5 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.048/2.048, allocations: 390.2 MB / 0.6644 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.001171, allocations: 63.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5151/0.5163, allocations: 140.4 MB / 0.9492 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002296/0.5186, allocations: 1.451 MB / 0.9506 GB, free: 5.336 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.003035/0.5216, allocations: 2.891 MB / 0.9535 GB, free: 2.434 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.5217, allocations: 0 / 0.9535 GB, free: 2.434 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 7.187e-05/0.5218, allocations: 7.922 kB / 0.9535 GB, free: 2.426 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 9.326e-05/0.5219, allocations: 31.88 kB / 0.9535 GB, free: 2.395 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.5224, allocations: 171.3 kB / 0.9537 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.5226, allocations: 239.5 kB / 0.9539 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.5227, allocations: 8 kB / 0.9539 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 8.872e-05/0.5228, allocations: 99.77 kB / 0.954 GB, free: 1.887 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.5229, allocations: 131.7 kB / 0.9541 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.5229, allocations: 8 kB / 0.9541 GB, free: 1.75 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.5233, allocations: 151.8 kB / 0.9543 GB, free: 1.602 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 8.376e-05/0.5234, allocations: 91.75 kB / 0.9544 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 8.844e-05/0.5235, allocations: 91.62 kB / 0.9545 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.5238, allocations: 269.5 kB / 0.9547 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.5238, allocations: 0 / 0.9547 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5238, allocations: 0 / 0.9547 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.5238, allocations: 0 / 0.9547 GB, free: 1.16 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007179/0.5245, allocations: 0.5339 MB / 0.9552 GB, free: 0.5781 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.5245, allocations: 8.031 kB / 0.9552 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.5246, allocations: 54.73 kB / 0.9553 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.578e-05/0.5247, allocations: 16.75 kB / 0.9553 GB, free: 0.4922 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.5249, allocations: 244 kB / 0.9555 GB, free: 220 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.525, allocations: 24.36 kB / 0.9556 GB, free: 196 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.525, allocations: 20.38 kB / 0.9556 GB, free: 176 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.5256, allocations: 285.1 kB / 0.9559 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.5256, allocations: 3.984 kB / 0.9559 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.5256, allocations: 8 kB / 0.9559 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5257, allocations: 4 kB / 0.9559 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.527, allocations: 0.749 MB / 0.9566 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.5273, allocations: 305.3 kB / 0.9569 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.5288, allocations: 0.6716 MB / 0.9575 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/0.5293, allocations: 237.3 kB / 0.9578 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003423/0.5296, allocations: 388 kB / 0.9581 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.5296, allocations: 42.55 kB / 0.9582 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=37): time 1.503e-06/0.5296, allocations: 4 kB / 0.9582 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of matching and sorting (n=37): time 0.001476/0.5311, allocations: 0.6412 MB / 0.9588 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.5312, allocations: 59.16 kB / 0.9589 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.5313, allocations: 129.7 kB / 0.959 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.5313, allocations: 33.7 kB / 0.959 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.5313, allocations: 92.8 kB / 0.9591 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/0.5314, allocations: 126.2 kB / 0.9592 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-05/0.5315, allocations: 65.69 kB / 0.9593 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.5316, allocations: 326.8 kB / 0.9596 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.5321, allocations: 191.8 kB / 0.9598 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004279/0.5325, allocations: 201 kB / 0.96 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007918/0.5333, allocations: 368.7 kB / 0.9603 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5333, allocations: 0 / 0.9603 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000971/0.5343, allocations: 472.5 kB / 0.9608 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.5343, allocations: 4 kB / 0.9608 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5343, allocations: 0 / 0.9608 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.5343, allocations: 0 / 0.9608 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.5347, allocations: 99.84 kB / 0.9609 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.5347, allocations: 7.938 kB / 0.9609 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.5348, allocations: 47.66 kB / 0.9609 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.5349, allocations: 15.98 kB / 0.961 GB, free: 10.45 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.0001126/0.535, allocations: 141.8 kB / 0.9611 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.535, allocations: 23.75 kB / 0.9611 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.5361, allocations: 0.5139 MB / 0.9616 GB, free: 9.758 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5361, allocations: 4 kB / 0.9616 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.5361, allocations: 0 / 0.9616 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5361, allocations: 0 / 0.9616 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.5364, allocations: 321.2 kB / 0.9619 GB, free: 9.391 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5364, allocations: 3.938 kB / 0.9619 GB, free: 9.387 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.5368, allocations: 95.84 kB / 0.962 GB, free: 9.293 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.5368, allocations: 4 kB / 0.962 GB, free: 9.289 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.5368, allocations: 15.98 kB / 0.962 GB, free: 9.273 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5368, allocations: 0 / 0.962 GB, free: 9.273 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5368, allocations: 0 / 0.962 GB, free: 9.273 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/0.5378, allocations: 0.4964 MB / 0.9625 GB, free: 8.758 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.5378, allocations: 104.7 kB / 0.9626 GB, free: 8.637 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.5379, allocations: 4 kB / 0.9626 GB, free: 8.633 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.538, allocations: 35.95 kB / 0.9627 GB, free: 8.598 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.5382, allocations: 119.8 kB / 0.9628 GB, free: 8.48 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.5383, allocations: 15.98 kB / 0.9628 GB, free: 8.465 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.5383, allocations: 99.27 kB / 0.9629 GB, free: 8.367 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5383, allocations: 0 / 0.9629 GB, free: 8.367 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0003372/0.5387, allocations: 115.9 kB / 0.963 GB, free: 8.254 MB / 0.7637 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 (37): * Single equations (assignments): 37 * 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.00142/0.5401, allocations: 1.119 MB / 0.9641 GB, free: 7.102 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.5412, allocations: 0.5579 MB / 0.9646 GB, free: 6.543 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5412, allocations: 0 / 0.9646 GB, free: 6.543 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004918/0.5417, allocations: 255.7 kB / 0.9649 GB, free: 6.293 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.5421, allocations: 83.8 kB / 0.965 GB, free: 6.211 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.5457, allocations: 2.721 MB / 0.9676 GB, free: 3.41 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.5459, allocations: 0.7289 MB / 0.9683 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003901/0.5463, allocations: 183 kB / 0.9685 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.5465, allocations: 67.39 kB / 0.9686 GB, free: 2.418 MB / 0.7637 GB Notification: Performance of SimCode: time 2.71e-07/0.5465, allocations: 0 / 0.9686 GB, free: 2.418 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.495/2.041, allocations: 7.074 MB / 0.9755 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/2.041, allocations: 211.8 kB / 0.9757 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/3.95, allocations: 0 / 0.9757 GB, free: 11.27 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches