Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.001331/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001605/0.001605, allocations: 193 kB / 16.13 MB, free: 6.699 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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 437 MB / 0.7099 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6019/0.6031, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003301/0.6064, allocations: 2.09 MB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002505/0.609, allocations: 1.749 MB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.62e-05/0.6091, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.174e-05/0.6092, allocations: 11.92 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.6093, allocations: 43.61 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009512/0.6103, allocations: 297.3 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.6105, allocations: 215.1 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.6106, allocations: 45.36 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.6107, allocations: 75.78 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.6109, allocations: 87.72 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.6109, allocations: 12 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007631/0.6117, allocations: 383.5 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.982e-05/0.6118, allocations: 39.84 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.469e-05/0.6119, allocations: 83.64 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005941/0.6125, allocations: 425.2 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6125, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6125, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.6125, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008783/0.6134, allocations: 0.507 MB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.6134, allocations: 11.97 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.245e-05/0.6135, allocations: 50.73 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005553/0.6141, allocations: 92.64 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.6142, allocations: 176.2 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-05/0.6143, allocations: 50.25 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.6143, allocations: 16.38 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.6147, allocations: 186.8 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.6147, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.6148, allocations: 4 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.6148, allocations: 7.938 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.6152, allocations: 183.8 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.6166, allocations: 0.9073 MB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.6171, allocations: 178.5 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.6173, allocations: 80.81 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006631/0.618, allocations: 0.5259 MB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.618, allocations: 30.56 kB / 1.025 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.618, allocations: 0 / 1.025 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0007108/0.6188, allocations: 233.8 kB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.6188, allocations: 59.41 kB / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.619, allocations: 160 kB / 1.025 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.619, allocations: 33.69 kB / 1.025 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/0.6191, allocations: 115.8 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.6192, allocations: 47.3 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.6192, allocations: 41.64 kB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6194, allocations: 322.8 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.6196, allocations: 79.95 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.6198, allocations: 95.16 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.6202, allocations: 147.6 kB / 1.026 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6202, allocations: 4 kB / 1.026 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005119/0.6207, allocations: 218.7 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.6207, allocations: 4 kB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6207, allocations: 4 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.6208, allocations: 3.984 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.621, allocations: 39.91 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.621, allocations: 0 / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.6212, allocations: 27.86 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.6212, allocations: 8 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001129/0.6214, allocations: 125.8 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.6214, allocations: 11.91 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/0.6219, allocations: 199.6 kB / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.6219, allocations: 0 / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.6219, allocations: 0 / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6219, allocations: 4 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.6233, allocations: 0.9855 MB / 1.028 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6234, allocations: 0 / 1.028 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.6236, allocations: 27.92 kB / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.6236, allocations: 4 kB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.6236, allocations: 3.984 kB / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.6236, allocations: 0 / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6236, allocations: 4 kB / 1.028 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.6241, allocations: 296.1 kB / 1.028 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.6242, allocations: 85.02 kB / 1.028 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.6242, allocations: 4 kB / 1.028 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.6244, allocations: 23.97 kB / 1.028 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.6245, allocations: 23.86 kB / 1.028 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.6245, allocations: 4 kB / 1.028 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.763e-05/0.6246, allocations: 117.3 kB / 1.028 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6246, allocations: 0 / 1.028 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004338/0.625, allocations: 127.9 kB / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.001121/0.6262, allocations: 0.9558 MB / 1.03 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004592/0.6266, allocations: 175.8 kB / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6267, allocations: 0 / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.6269, allocations: 87.95 kB / 1.03 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.6273, allocations: 44.42 kB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.63, allocations: 2.086 MB / 1.032 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.6303, allocations: 0.7089 MB / 1.033 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.6304, allocations: 29.8 kB / 1.033 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.815e-05/0.6305, allocations: 43.42 kB / 1.033 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.6305, allocations: 3.938 kB / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1477/0.7782, allocations: 5.768 MB / 1.038 GB, free: 12.15 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/0.7785, allocations: 228.4 kB / 1.038 GB, free: 11.9 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/2.79, allocations: 3.875 kB / 1.038 GB, free: 11.9 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches