Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_ZeroInput,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.001113/0.001113, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 195.8 kB / 16.53 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.331/2.331, allocations: 437.1 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.5102, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003058/0.5133, allocations: 2.027 MB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00226/0.5156, allocations: 1.669 MB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.304e-05/0.5157, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.867e-05/0.5158, allocations: 19.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.5159, allocations: 51.55 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.517, allocations: 366.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.5173, allocations: 215.2 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.5174, allocations: 45.47 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.5176, allocations: 83.72 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.5177, allocations: 91.72 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.5178, allocations: 20 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007588/0.5185, allocations: 395.5 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.5186, allocations: 39.84 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.5187, allocations: 91.64 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006206/0.5193, allocations: 417.3 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5193, allocations: 4 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5194, allocations: 3.938 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.5194, allocations: 4 kB / 1.023 GB, free: 12.97 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.0008871/0.5203, allocations: 0.5147 MB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.5203, allocations: 15.97 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.457e-05/0.5204, allocations: 46.73 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005845/0.521, allocations: 88.64 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.5211, allocations: 184.2 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.782e-05/0.5212, allocations: 46.25 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.5212, allocations: 16.36 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.5217, allocations: 195 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5217, allocations: 0 / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.5217, allocations: 8 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.5218, allocations: 4 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.5222, allocations: 175.8 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.5236, allocations: 0.9151 MB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/0.5241, allocations: 174.5 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.5243, allocations: 80.81 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005895/0.5249, allocations: 0.5181 MB / 1.026 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.525, allocations: 34.56 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.525, allocations: 0 / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0006806/0.5256, allocations: 235.6 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.5257, allocations: 55.41 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.5258, allocations: 155.4 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.5258, allocations: 37.69 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.5259, allocations: 115.8 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.5259, allocations: 47.3 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.526, allocations: 37.7 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.5261, allocations: 322.8 kB / 1.027 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.5263, allocations: 71.95 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.5265, allocations: 109.6 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.5269, allocations: 156.8 kB / 1.027 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5269, allocations: 0 / 1.027 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004839/0.5274, allocations: 209.5 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.5274, allocations: 8 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5274, allocations: 0 / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.5275, allocations: 0 / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.5277, allocations: 39.91 kB / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.5277, allocations: 7.938 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.5279, allocations: 27.73 kB / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.5279, allocations: 4 kB / 1.027 GB, free: 7.934 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 9.581e-05/0.528, allocations: 133.7 kB / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.5281, allocations: 11.91 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/0.5286, allocations: 191.4 kB / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.5286, allocations: 4 kB / 1.028 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5286, allocations: 4 kB / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.5286, allocations: 0 / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.5299, allocations: 0.9816 MB / 1.029 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5299, allocations: 0 / 1.029 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.5301, allocations: 39.91 kB / 1.029 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.5301, allocations: 0 / 1.029 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.5302, allocations: 3.984 kB / 1.029 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5302, allocations: 4 kB / 1.029 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5302, allocations: 0 / 1.029 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.5306, allocations: 297 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.5307, allocations: 85.02 kB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.5307, allocations: 8 kB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.531, allocations: 15.97 kB / 1.029 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.531, allocations: 15.92 kB / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.531, allocations: 8 kB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.785e-05/0.5311, allocations: 121.5 kB / 1.029 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5311, allocations: 0 / 1.029 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003991/0.5315, allocations: 123.9 kB / 1.029 GB, free: 5.699 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.0009847/0.5325, allocations: 0.9539 MB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000455/0.533, allocations: 179.8 kB / 1.03 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.533, allocations: 0 / 1.03 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.5332, allocations: 83.89 kB / 1.03 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.5336, allocations: 57.58 kB / 1.03 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.5362, allocations: 2.063 MB / 1.033 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.5364, allocations: 0.7047 MB / 1.033 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.5365, allocations: 29.42 kB / 1.033 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.5366, allocations: 43.42 kB / 1.033 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.5366, allocations: 0 / 1.033 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.33/1.866, allocations: 6.002 MB / 1.039 GB, free: 11.61 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.163/11.03, allocations: 10.62 kB / 1.039 GB, free: 11.61 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches